Permalink
Browse files

Workaround for compiler bug SI-6011.

  • Loading branch information...
1 parent d8de93d commit 650201b00421c5e0487ea50258acfdebfad57e92 @dragos dragos committed Jul 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 org.scala-ide.sdt.core/src/scala/tools/eclipse/ui/ScalaIndenter.scala
@@ -788,7 +788,8 @@ class ScalaIndenter(
}
nextToken
- fToken match {
+ // TODO: Remove once SI-6011 is fixed
+ (fToken: Any) match {
// check for an arrow token and increase indentation (handles 'case' and closures)
case Symbols.TokenGREATERTHAN if scanner.previousToken(fPosition - 1, UNBOUND) == Symbols.TokenEQUAL =>
handleScopeIntroduction(offset + 1)

0 comments on commit 650201b

Please sign in to comment.