Skip to content

EC#: New ?> operator causes parser errors in code like X<T?> #140

Description

@qwertie

It needs to be parsed as two tokens, not one. Example:

static ThreadLocalVariable<IFoo?> _default = new ThreadLocalVariable<IFoo?>(null); // ERRORS

Workaround:

static ThreadLocalVariable<IFoo? > _default = new ThreadLocalVariable<IFoo? >(null);

Note: this is a separate and more widespread issue than #133

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions