aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/projections.scala
blob: 5d80e115146b459a45d334a188bcdb4bd6c267b0 (plain) (blame)
1
2
3
4
5
6
7
class projections {

  class Lambda { type Arg; type Apply }

  var x: (Lambda { type Apply = Int }) # Apply = _ // error: illegal prefix

}