jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler Should Not Accept Unquoted Strings in Metadata

jamescourtney opened this issue · comments

Currently, FlatSharp accepts this:

table SomeTable (fs_serializer:Lazy) { }

This has been a happy accident until now due to a bug in the grammar, which accepted identifiers (ie, unqouted strings) and even scalars. The "proper" grammar is to require quoted strings:

table SomeTable (fs_serializer:"Lazy") { }

This counts as a breaking change, so it will need to be part of FlatSharp 6, whenever that happens.