Skip to content

Better error when escaping keyword as variable name #31

Description

@ArtemkaKun
error(E0001): unexpected input character U+0040 `@`, bytes: [64], len: 1
 --> wrapper.sp:11894:40:41
       |
 11894 | return C.tsMeshIndices_getTypeName_MIT(@type)
       |                                        ^ 

After Discord discussion - Spawn wouldn't support keywords escape, so there should be a better error like "seems you are trying to escape keyword to use it as variable name, but Spawn doesn't support this"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions