tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
275 stars 56 forks source link

Identifiers should be quoted in error messages #361

Closed anton-trunov closed 1 month ago

anton-trunov commented 1 month ago

Otherwise error messages can be confusing to users, for instance:

Field initialized is not set

The initialized identifier should be quoted:

Field 'initialized' is not set

Gusarich commented 1 month ago

Should it only affect variable/field identifiers or traits, functions, types too?

anton-trunov commented 1 month ago

Right, any identifier should be quoted for consistency, including functions, types, etc.