-
Notifications
You must be signed in to change notification settings - Fork 39
Rock parses function arguments with default values incorrectly #990
Open
Description
All of these should of course be equal, but are unfortunately not:
foo: func (a := false, b := true) // works moo: func (a: Bool = false, b := true) // works bar: func (a := false, b: Bool = true) // does not work car: func (a: Bool = false, b: Bool = true) // does not work
For example, bar fails with error Couldn't unwrap decl 'false: Bool', which suggests rock parses something incorrectly.
Activity
Metadata
Metadata
Assignees
Labels
No labels