Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.16 KB | None | 0 0
  1. val a = 0
  2. val b: a.type = 1
  3.  
  4. Error:(58, 12) type mismatch;
  5.  found   : a.type (with underlying type Int)
  6.  required: AnyRef
  7.     val b: a.type = 1
  8.            ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement