Cross reference between classes #2

Closed
joaomdmoura opened this Issue Sep 15, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

joaomdmoura commented Sep 15, 2011

If your class B extends the class A, and you include class B rendering first in class A file this will start a infinite loop and stop the processing of compilation without show any treated error.

The code:

a.coffee
class A extends D constructor:-> console.log "lol"


b.coffee
#<< A class D constructor:-> console.log "lol"

arboleya was assigned Sep 15, 2011

arboleya closed this in afb22d2 Sep 18, 2011

@joaomdmoura joaomdmoura pushed a commit to joaomdmoura/coffee-toaster that referenced this issue Sep 21, 2011

@arboleya arboleya + nybras adding precise error handling routine with filepath and line number o…
…f the found error (compilation time), and using coffee-script as a library instead of using (exec coffee..) and implementing circular dependency validation. [closes #2]
df0e06a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment