Closed stackoverflow closed 1 month ago
This fixes a bug where a parenthesised expression in a new line after a type test was being parsed as the constraint of the type:
facts { ["test"] { (test) { base = test.kind }.kind is String (test) { base = "a" }.kind is String } }
Was being parsed as
facts { ["test"] { (test) { base = test.kind }.kind is String(test) { base = "a" }.kind is String } }
With this change a type constraint cannot start in a new line.
This fixes a bug where a parenthesised expression in a new line after a type test was being parsed as the constraint of the type:
Was being parsed as
With this change a type constraint cannot start in a new line.