Syntax highlight error in Scala lexer, literal types

Issue #1331 new
Anonymous created an issue

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:

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

val one :  1 = 1

Comments (0)

  1. Log in to comment