Added a new syntax error code MODIMPFAIL

This commit is contained in:
hyunghwan.chung
2017-06-08 14:39:17 +00:00
parent 40ec8fc157
commit 9b3c3007fd
8 changed files with 74 additions and 20 deletions

View File

@ -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'

View File

@ -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 ]
}.