powerlang / egg

Egg Smalltalk
MIT License
13 stars 2 forks source link

bootstrap: Fix error when building and using the constant literals of compiled methods #38

Closed iglosiggio closed 5 months ago

iglosiggio commented 5 months ago

The current implementation has an issue where #text is confused with 'text' resulting in the interpreter being unable to find the 'text`` variable or sending the'test'` message.

An alternative implementation is to never store strings on constant pools and just use symbols always.