+2

Haskell syntax highlighting: Improper class declaration highlighting

Vincent Ambo 12 jaar geleden 0

Currently, Sublime Text expects any Haskell class declaration to include a "where" statement for associated functions. This is not always the case, i.e. a class declaration


class Foo a


is completely valid. The syntax highlighting breaks on the missing where statement.