Skip to content

Make base classes abstract#282

Open
AnAvailableName wants to merge 4 commits into
mainfrom
make-base-classes-abstract
Open

Make base classes abstract#282
AnAvailableName wants to merge 4 commits into
mainfrom
make-base-classes-abstract

Conversation

@AnAvailableName

Copy link
Copy Markdown
Collaborator

No description provided.

@AnAvailableName AnAvailableName force-pushed the make-base-classes-abstract branch from 24ab512 to b32139e Compare June 12, 2026 19:15
// This is because eMoflon::neo gives us these parameters based on the index in the invocation, which
// can be different than the index in the definition. And of course, we don't get the name of the parameter.
// This is because eMoflon::neo gives us these parameters based on the index in
// the invocation, which

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary like break in L32 (very short line).

@Override
public String toString() {
var params = parameters.stream().map(param -> param.attribute() + ": " + param.value()).collect(Collectors.joining(","));
var params = parameters.stream().map(param -> param.attribute() + ": " + param.value())

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you break a stream expression, I would switch to a style where all stream methods are in their own line, i.e.

.stream()
.map(...)
.collect(...)

Comment thread lang/.gitignore Outdated
.vscode/

### Metals lsp ###
**/.metals/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The double asterisks are unnecessary here.

@AnAvailableName AnAvailableName Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has actually crated folders in lang/frontend and lang/ however maybe it was due to a misconfiguration on my part. For now I have removed the asterisks (and added one folder that I forgot).

@AnAvailableName AnAvailableName force-pushed the make-base-classes-abstract branch from 55c96cd to fd042a5 Compare June 23, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants