uqbar-project / wollok

Wollok Programming Language
GNU General Public License v3.0
60 stars 16 forks source link

Rename "wollok.lang.WObject" to "wollok.lang.Object" #359

Closed javierfernandes closed 8 years ago

javierfernandes commented 8 years ago

It's a little bit harder than just renaming it.

The idea here is that on wollok side we will like this class to be named "Object" and not WObject. The think is that it's a native class, and therefore it needs a javatype with the same name. But, here's the tricky part, java gets really crazy if you create a class with the name Object, since it collides with java.lang.Object.

So we need some sort of way to change the convention between wollok native class and java class for this cases.

javierfernandes commented 8 years ago

Solved in dev-natives-to-wollok branch