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

Support anonymous classes inside contracts #6

Open
nhatminhle opened this issue Aug 17, 2014 · 1 comment
Open

Support anonymous classes inside contracts #6

nhatminhle opened this issue Aug 17, 2014 · 1 comment
Assignees

Comments

@nhatminhle
Copy link
Owner

From [email protected] on August 05, 2011 04:51:27

Currently it is not possible to define an anonymous class inside a contract.
When trying to define one, the error is that the correspondent ...$1 class was not found in the classpath.

The reason is that the generated classfile of the anonymous class has the .contracts extension, instead of .class, and thus is not found.

Simply changing the extension of anonymous classes ("$[0-9]+") is not a solution since it breaks anonymous classes with contracts on it (sorry about the changelist :P).

Original issue: http://code.google.com/p/cofoja/issues/detail?id=29

@nhatminhle nhatminhle self-assigned this Aug 17, 2014
@nhatminhle
Copy link
Owner Author

From [email protected] on October 30, 2012 13:10:09

Hi, it just happened to me and, after a good couple hours and another couple heads, We were able to identify the problem. Although not resolve it without removing the inner class. I was about to submit the problem when I checked the issues... It seems that it is still open on the latest cofoja-1.0- r139 .jar.

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

No branches or pull requests

1 participant