Skip to content

Syntax highlight error in Scala lexer, literal types #1035

@Anteru

Description

@Anteru

(Original issue 1331 created by None on 2017-02-18T20:02:02.566973+00:00)

Scala code will soon allow literals to be placed in types position (SIP-23). Typelevel Scala and Dotty already allow this. The lexer should not to mark the following as errors:

#!Scala

type Test[A] = Int
type MyTest = Test[1]

val one :  1 = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-majorseverity: majorT-bugtype: a bugX-importedimported from Bitbucket

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions