Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val a = 0
- val b: a.type = 1
- Error:(58, 12) type mismatch;
- found : a.type (with underlying type Int)
- required: AnyRef
- val b: a.type = 1
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement