cython/cython — pull request #79 by dtcaciuc (2011-12-29 22:08:22+00:00)
Title: Failing test for templated type reference args in templated type method

This mirrors my recent post to the development mailing list; while I'm getting my bearings inside Cython source, I thought I'd start with a test case. I did my best to follow the hacker guide on the wiki, please let me if something needs adjustment.

---

It seems that a templated class method (Foo[T].set_bar)
which should accept a reference to another templated type (Bar[T] &)
can't actually do so and throws an error. Problem disappears if Foo is not a template.