Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when passing a struct-pointer to a generic function (call by reference) #7

Closed
showstopper opened this issue Apr 13, 2010 · 1 comment

Comments

@showstopper
Copy link
Member

http://npaste.de/Pj/
Rock refuses to compile this with the following error:
name = testFunction, refScore = -98976, ref = testFunction: func (st : T)
test.ooc:14:5 [ERROR] No such function testFunction(TestCover*)
testFunction(b&)
Doing call-by-value works fine.

@nddrylliog
Copy link
Member

Fixed by d9b0550

Enjoy!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants