Bug with generic class of abstract class #165

Closed
asterite opened this Issue Jul 15, 2014 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

asterite commented Jul 15, 2014

abstract class Node
end

def foo(nodes : Pointer(Node))
  foo nodes.value
end

a = Pointer(Node).null
foo a

Gives:

Bug: Node+ doesn't implement parents

asterite referenced this issue in farleyknight/crystal-c-api-generator Jul 15, 2014

@asterite asterite closed this in a8650d8 Jul 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment