Skip to content

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

@qwertie

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions