Dechenjm / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

Parameter name cannot be method name #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello.

Is that normal that parameter names conflict with method names?

For instance, in this script:
void func() {
}

void anotherFunc(function[void] func) {
}

I got the following error:
Symbol func is already defined in this context.
on the line of anotherFunc() definition

I think this is not a conflict.

Thanks to fix that.

Original issue reported on code.google.com by boua...@mailinator.com on 15 Dec 2011 at 9:40

GoogleCodeExporter commented 9 years ago
This is indeed a bug, thanks for reporting it.

Original comment by mind...@gmail.com on 16 Dec 2011 at 6:02

GoogleCodeExporter commented 9 years ago
fixed in rev 9c8c95c0d973

Original comment by mind...@gmail.com on 23 Aug 2012 at 7:52