Skip to content

Switch syntax and string literal clash #149

@chenglou

Description

@chenglou

switch bla {| a => b} clashes with {|hello new string literal ()()|}.

The suggestion is to switch the string literal from {|a|} to a (a-la js) or maybe """ a-la python.

If we go with the former, we need to change polymorphic variant's syntax from `Bla to something else, like #bla.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions