Dechenjm / crack-language

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

Implement Constructor Inheritance #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
class A {
  oper init(int val) {}
}

class B : A {}  # should get its own oper init(int val)

We can only do this if all of the rest of the instance variables and base 
classes have default constructors.

Original issue reported on code.google.com by mind...@gmail.com on 12 Sep 2010 at 4:42