felixangell / kpd

an old compiler for Krug written in D - a prototype version
MIT License
44 stars 1 forks source link

method calling IR build #83

Closed felixangell closed 6 years ago

felixangell commented 6 years ago

method calling needs to be implemented in the IR builder, as well as the type system? not really sure how to go around this atm but I think the best way would to pass a secret variable to a function which can be done in the builder? also during type resolution the types would be set for the function to have its receiver as the first param?