? pragma.enable("importer")
? def [=>a,] := ["a"=> 3]
# syntax error:
# # def [=>a,] := ["a"=> 3]
# # # ^
? def [b,] := [3]
# syntax error:
# # def [b,] := [3]
# # # ^
Both go away if the trailing comma is removed
Reported by Kevin Reid at
http://www.eros-os.org/pipermail/e-lang/2004-April/009818.html
Followups 2004-May-24 03:11 markm
Another at
http://www.eros-os.org/pipermail/e-lang/2004-May/009833.html
:
? __identityFunc(1,)
# value: 1
? def foo(a,) :void {}
# syntax error:
# def foo(a,) :void {}
# ^
# @ <-.e#:span::91:10::91:10>