Wendicka / Scyndi

Experimental programming language
GNU General Public License v3.0
0 stars 0 forks source link

When modules use other modules those modules used by other modules should be translated first, but that doesn't happen unless the main program did so first. #75

Open Tricky1975 opened 5 years ago

Tricky1975 commented 5 years ago
Program prog
use 
    mod1
end

module mod1
 use
      mod2
  end

This should cause mod2 to be translated first, but it is in fact translated after mod1 which can lead to very funny situations (parse errors most notably or spooked up translations which can (depending on the target language) be lethal).