summaryrefslogblamecommitdiff
path: root/test/files/neg/t1106.check
blob: f81d0c60258ba5cf08883c13eb0faac084c4a8a9 (plain) (tree)
1
2
3
4
5
6
7






                                                         
t1106.scala:2: error: expected class or object definition
val p = new Par[String]
^
t1106.scala:5: error: expected class or object definition
new Foo[p.type](p) // crashes compiler
^
two errors found