File: t5702-neg-ugly-xbrace.check

package info (click to toggle)
scala 2.11.12-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 62,924 kB
  • sloc: javascript: 28,808; java: 13,415; xml: 3,135; sh: 1,620; python: 756; makefile: 38; awk: 36; ansic: 6
file content (19 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (4)
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