summaryrefslogtreecommitdiff
path: root/test/files/neg/t5702-neg-ugly-xbrace.check
blob: cdd2438b0e2e49319a1d20dd051c54b2a5a00207 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
t5702-neg-ugly-xbrace.scala:11: error: bad simple pattern: bad brace or paren after _*
    val <top>{a, z@_*)</top> = xml
                     ^
t5702-neg-ugly-xbrace.scala:12: error: Missing closing brace `}' assumed here
    println("A for "+ a +", ending with "+ z)
    ^
t5702-neg-ugly-xbrace.scala:13: error: in XML literal: in XML content, please use '}}' to express '}'
  }
  ^
t5702-neg-ugly-xbrace.scala:11: error:  I encountered a '}' where I didn't expect one, maybe this tag isn't closed <top>
    val <top>{a, z@_*)</top> = xml
         ^
t5702-neg-ugly-xbrace.scala:14: error: illegal start of simple pattern
}
^
t5702-neg-ugly-xbrace.scala:14: error: '}' expected but eof found.
}
 ^
6 errors found