bennyxqg / lua-alchemy

Automatically exported from code.google.com/p/lua-alchemy
0 stars 0 forks source link

cache of supplyFile when dofile #161

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.new a lua alchemy instance
2.supply a file with a name
3.dofile or dofileasyn
4.new another lua alchemy instance
5.supply another file with the same name at before
3.dofile or dofileasyn

What is the expected output? What do you see instead?
both dofile would run the first supply file.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by hbbalf...@gmail.com on 26 Apr 2012 at 7:23

GoogleCodeExporter commented 9 years ago
This is expected behaviour, unfortunately. Adobe Alchemy works this way. You 
may replace dofile() with something loadstring()-based if you need another 
behaviour. Tell me if you want some hints on how to do that.

Original comment by aglad...@gmail.com on 26 Apr 2012 at 7:42