Skip to content

Convert nameof() into a compile time function #111

Description

@tinkerer-red

Currently its partially hard coded into the tokenizer, how ever ideally we would convert this into something else. the main problem is that it has extremely odd syntax, so it might be ultimately better to just support macro arguments? however the down side with this would be then we need to actually allow for arguments in macros. because ultimately the nameof(abc) litterally just gets compiled into "abc"

worth further considering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions