-
Notifications
You must be signed in to change notification settings - Fork 829
Closed
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Milestone
Description
Given the following:
type IFoo<'T> =
abstract member Bar<'T>: name: string -> unit
Expected:
Compiles.
Actual:
Compiler error.
This construct is deprecated: ':' is not permitted as a character in operator names and is reserved for future use
Workaround:
Put a space after the >
:
type IFoo<'T> =
abstract member Bar<'T> : name: string -> unit
Thanks to @jaredpar for pointing this out
Info
Latest F# compiler in VS Preview
Metadata
Metadata
Assignees
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Type
Projects
Status
Done