Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

"Not sure what to do with this character" error when using a German umlaut in a variant

$
0
0

identifiers can only use ascii characters, if you want to use any utf8 characters, use @as:

type mustard =
  | Dijon
  | Wholegrained
  | @as("Düsseldorf") Dusseldorf

Viewing all articles
Browse latest Browse all 2592

Trending Articles