icerpc/slicec

Some UTF8 characters like ๐’…‹ can be used as identifiers

Closed this issue ยท 0 comments

Good:

error [E002]: invalid syntax: unknown symbol '๐Ÿ˜Š'
 --> foo.slice:4:5
  |
4 |     ๐Ÿ˜Š = 10
  |     /\
  |

Failed: Compilation failed with 1 error(s)

Bad:

module Foo

enum Foo : uint8 {
    ๐’…‹ = 10
}

This does not produce any error.