Skip to content

WIP: Some fixes to get stdlibs to compile - #157

Merged
stanhebben merged 14 commits into
feature/refactorfrom
feature/refactor-get-stdlib-to-compile
Jun 28, 2024
Merged

stanhebben merged 14 commits into
feature/refactorfrom
feature/refactor-get-stdlib-to-compile

Conversation

@kindlich

Copy link
Copy Markdown
Member

No description provided.

@kindlich
kindlich force-pushed the feature/refactor-get-stdlib-to-compile branch from c9155b1 to dcc2a0b Compare June 22, 2024 09:10
@kindlich kindlich added bug Something isn't working bytecode All issues that relate to the generation of Java Bytecode parser labels Jun 22, 2024
@kindlich kindlich added this to the Refactor milestone Jun 22, 2024
@kindlich kindlich changed the title WIP: Some fixes to get strings expansion to compile WIP: Some fixes to get stdlibs to compile Jun 22, 2024
ScriptBuilder.create()
.add("var left = 13 as " + typeLeft + ";")
.add("var right = 29 as " + typeRight + ";")
.add("println(left + right);")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fun:

// works as expected
var result = left + right;
println(result);

// does not do the widening properly
println(left + right);

@kindlich
kindlich force-pushed the feature/refactor-get-stdlib-to-compile branch from 5bac065 to 29f7f70 Compare June 25, 2024 16:25
@kindlich
kindlich force-pushed the feature/refactor-get-stdlib-to-compile branch from 29f7f70 to 3f8c934 Compare June 25, 2024 16:32
@stanhebben
stanhebben merged commit 9848e0f into feature/refactor Jun 28, 2024
@kindlich
kindlich deleted the feature/refactor-get-stdlib-to-compile branch July 8, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working bytecode All issues that relate to the generation of Java Bytecode parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants