8 lines
225 B
Text
8 lines
225 B
Text
// throws an error
|
|
def nothing: 0 -> mightBeNothing;
|
|
|
|
// throws an error
|
|
{ nothing: 0 -> mightBeNothing }
|
|
|
|
// OK, simply results in the empty structure without a field called 'nothing'
|
|
{ 0 -> mightBeNothing -> (nothing: $) }
|