tact-lang / tact

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

Use `ASTId` for names in AST #377

Open byakuren-hijiri opened 2 weeks ago

byakuren-hijiri commented 2 weeks ago

Constants, fields, functions, and other AST elements typically use string referring to the name of the element. It could be replaced by ASTId, so we'll get additional information about the definition point of the related AST element, which is useful for users of the compiler's API and internally to generate warnings referring to that element.