fork(2) download
  1. object Main extends App {
  2. trait T {
  3. type N
  4. }
  5.  
  6. def f(x: T): Unit = {
  7. val a: x.N = ???
  8. val b: x.type#N = a
  9. }
  10. }
  11.  
Success #stdin #stdout 0.23s 321920KB
stdin
Standard input is empty
stdout
Standard output is empty