starlark icon indicating copy to clipboard operation
starlark copied to clipboard

Clarify trailing comma in lambda parameters

Open stepancheg opened this issue 4 years ago • 1 comments
trafficstars

lambda x,: None

is valid in Python, but invalid by this spec and in java implementation.

If the difference is intentional, let's mention that explicitly.

If that's accidental, let's fix the spec and implementation.

stepancheg avatar Jan 23 '21 04:01 stepancheg