Closed juliankrispel closed 8 years ago
This change will probably enable me to fix #7 #6 #65 in one go.
So the way I was thinking using the Scope object was that I basically mirror the way it is used in CoffeeScript which is thus:
Block
type is encountered.Scope could also be used for keeping track of superMethodNames
which would fix #82
I'm so looking forward to getting rid of meta.superMethodNames
it's such a dirty hack
Having tried to use scope for this I'm doubtful that it is such a good idea. It's pretty gnarly ... and highly dependent on how the scope object is built up inside nodes.coffee
. There's a lot of mutation going on, change a single thing and everything collapses...
addressed in #93
Making better use of the Scope object as provided by coffee-script could help with a couple of issues:
It would also help me shy away from introducing my own object-oriented abstraction. I'd like to keep the code as simple as possible for as long as possible.