Demo entry 5862224

Scala highlight bug

   

Submitted by anonymous on Jul 26, 2016 at 16:19
Language: Scala. Code size: 267 Bytes.

// Incorrect highlighting (on `case`)
trait Foo[A]
case class Foo1(x: A) extends Foo
// Correct highlighting
case class Foo2(x: A) extends Foo

// Incorrect highlighting (on `extends`)
trait Bar[A] extends Foo[A]
// Correct highlighting
trait Bar extends Foo

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).