Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type
- A = object of RootObj
- B = object of A
- let
- a = A()
- b = B()
- echo b is A
- echo a is B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement