Skip to content

Instantly share code, notes, and snippets.

View gokr's full-sized avatar

Göran Krampe gokr

View GitHub Profile
@gokr
gokr / gist:73cb41ac285611ba047a
Created December 10, 2014 23:30
Inheritance of ==?
type
Vehicle* = ref object of RootRef
color*: string
type
Car* = ref object of Vehicle
make*: string
# This method ... is never called, it seems
# that system.`==` is preferred, why?