Issue #708 resolved

Scala abstract class method comments are incorrectly highlighted

Anonymous created an issue

I'm guessing Scala is hard to parse correctly, but anyway, after an abstract method definition, the comment seems to be taken as part of the type, instead of a comment:

{{{

!scala

abstract class Point { // This is a normal comment def toString: String // This comment is highlighted incorrectly }

}}}

http://pygments.org/demo/25920/

Comments (1)

  1. Log in to comment