Advertisement
Guest User

Option[Bug]

a guest
Jun 5th, 2015
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nim 0.22 KB | None | 0 0
  1. type
  2.   Base = object of RootObj
  3.   LBase[T: Base] = object of RootObj
  4.  
  5. type
  6.   BA = object of Base
  7.   LBA = object of LBase[BA]
  8.  
  9. let a = LBA()
  10. #>(9, 5) Error: invalid type: 'LBase[LBase.T]' in this context: 'LBA'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement