Added a new syntax error code MODIMPFAIL
This commit is contained in:
@ -106,6 +106,7 @@ class MyObject(Object)
|
||||
'wrong primitive function identifier'
|
||||
'wrong primitive function argument definition'
|
||||
'wrong module name'
|
||||
'failed to import module'
|
||||
'#include error'
|
||||
'wrong namespace name'
|
||||
'wrong pool dictionary name'
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
class MyObject(Object)
|
||||
{
|
||||
## TODO: support import in extend??
|
||||
|
||||
var(#class) a := 100.
|
||||
|
||||
method(#class) proc1
|
||||
@ -20,7 +22,7 @@ class MyObject(Object)
|
||||
| tc limit |
|
||||
|
||||
tc := #{
|
||||
## 0 - 4
|
||||
## 0 - 4
|
||||
[ self proc1 == 100 ],
|
||||
[ Processor sleepFor: 2. self proc1 == 200 ]
|
||||
}.
|
||||
|
Reference in New Issue
Block a user