hpi-swa / trufflesqueak

A Squeak/Smalltalk VM and Polyglot Programming Environment for the GraalVM.
MIT License
283 stars 14 forks source link

MNU occurred when compiling character literals in Squeak 6.0 beta image #158

Closed dram closed 2 years ago

dram commented 2 years ago

A MNU error will be occurred when compiling code contains character literals, e.g.:

Transcript show: $a

I think it is related to https://lists.squeakfoundation.org/pipermail/squeak-dev/2022-March/219464.html and https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/618

fniephaus commented 2 years ago

Thanks for the pointers! A fix is on the main branch.

dram commented 2 years ago

Fix confirmed, thanks!

With this fix, TruffleSqueak-Core and TruffleSqueak-Support can be loaded into Squeak 6.0 beta image now, and following code works with no problem:

(Java type: 'java.lang.System') out println: 'Hello world!'.