[Grace-core] Minutes

James Noble kjx at ecs.vuw.ac.nz
Mon Mar 23 17:00:29 PDT 2015


* abstract methods
 - a declaration of a method called "abstract" that throws an exception when called

* talked about dispatch rules as per emails yesterday. Decided on OC. 

- The scope chain includes partial objects instead of object
 constructors. These partial objects also respond "yes" if an
 inherited method "X" is defined in a superclass.
The process is then:
- Look up the scope chain, including upwards inheritance, until the
 name is found.
- If the name is found:
 - If it was found on an activation record, resolve to that.
 - If it was found on a partial object, module, or dialect,
   dynamically dispatch on the relevant object of which that
   partial object is a part.
 And terminate lookup.
- Report a name resolution error.

* started in on inheritance

(PS)
Random Scala Links:
http://lampwww.epfl.ch/~hmiller/scala2014/proceedings/p1-bastin.pdf

http://www.scala-lang.org/old/node/7508

> Inheritance man, inheritance man.
> Doing the things that a subclass can.
> What's his type? It's not important
> Inheritance man.
> 
> Import man, import man.
> Import man meets inheritance man.
> They have a fight
> Inheritance wins
> Inheritance man.

James






More information about the Grace-core mailing list