renan-guimaraes / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

Odd internal error while compiling #357

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Run the included project in debugging mode. Press the compile button.

The project creates a unit and links it to the engine. The unit contains a 
single class with 2 overloaded methods. 1 method has a single constant string 
parameter. The other one has the same parameter and a second constant integer 
parameter.

In the script, a variable is defined as the class from the unit. When adding 
"Obj.Method('string',);" and compiling this, the script engine throws an 
internal error, rather than returning a compiler error.

The string and integer parameters are just examples as this is just a simple 
bug reproduction.

Compiling with "Obj.Method('string',", does not throw an exception internally.

Original issue reported on code.google.com by frederic...@gmail.com on 3 Apr 2013 at 7:45

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1885.

Original comment by zar...@gmail.com on 4 Apr 2013 at 7:57