0x7CFE / llst

LLVM powered Little Smalltalk.
Other
93 stars 10 forks source link

Strange console output #89

Closed kpp closed 9 years ago

kpp commented 9 years ago

Insert it into console:

1
1+2
1+3
2+3
1 class
(2+3) class

The output is:

->1
1
->1+2
3
->1+3
4
->2+3
5
->1 class
SmallInt
->(2+3) class
<!SmallInt

There should be no <!SmallInt

dkashitsyn commented 9 years ago

<! is printed because of value stack overflow in VM. This is a known problem that should be fixed later.