Skip to content

Meta jolie2java code generation#536

Merged
fmontesi merged 2 commits into
jolie:masterfrom
kicito:feature/meta-jolie2java
Nov 6, 2024
Merged

Meta jolie2java code generation#536
fmontesi merged 2 commits into
jolie:masterfrom
kicito:feature/meta-jolie2java

Conversation

@kicito

@kicito kicito commented Nov 5, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment thread packages/meta.ol Outdated
/// A long basic type.
type LongBasicType {
long
type LongBasicType: long {

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.

This and the other *BasicType are not mistakes. I actually need a subnode called 'long' or something like that. Maybe we can use an annotation to generate something with a different name in Java?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Java reserves void, int, enum, long, and double, so we'd need different names.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

would is... e.g. isInt make sense?

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.

Yes. :-)

@fmontesi fmontesi merged commit 4bda348 into jolie:master Nov 6, 2024
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.

3 participants