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.
All of these should of course be equal, but are unfortunately not:
For example,
bar
fails witherror Couldn't unwrap decl 'false: Bool'
, which suggests rock parses something incorrectly.