enhanced the compiler to auto-sense the use of comma in a byte array literal

This commit is contained in:
hyunghwan.chung
2017-12-20 16:40:04 +00:00
parent 4fe38f883c
commit f27856fa72
2 changed files with 40 additions and 3 deletions

View File

@ -166,7 +166,7 @@ class MyObject(Object)
outact := [:sck :state |
if (state)
{
sck writeBytes: #[ $h $e $l $l $o ].
sck writeBytes: #[ $h, $e, $l, $l, $o ].
}
else
{
@ -174,8 +174,6 @@ class MyObject(Object)
].
conact := [:sck :state |
if (state)
{
'CONNECTED NOW.............' dump.