forked from smarr/SOMpp
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
These were reported by @sillycross.
Code:
hello2 = (
run = (
hello2 methods do: [ :meth |
meth holder print.
meth signature println.
].
Integer methods do: [ :meth |
meth holder print.
meth signature println.
].
)
---
func = (
1 println.
)
func2 = (
2 println.
)
)- the
---parsing is in some way broken, though, not sure.----is the separator between instance and class side. But--- func = ()should probably parse into a method called#--- - The "Integer" part triggers a crash.
-
keywordSelectorSymsin Parser.cpp needs to end withNONE. Your code happens to work because most C compilers will pad zeros for global arrays to multiple of 8 or 16 bytes.
hello = (
run = (
| b |
b := [ 1 println. ].
c := [ 2 println. ].
b whileTrue: c.
)
)- should give a parse error when writing to
c
Metadata
Metadata
Assignees
Labels
No labels