JackTrapper / dwscript

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

Current unit name is not recognized as a valid identifier #486

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
unit Test;

function Factorial(value: integer): integer;
begin
   if value >= 1 then
      result := value
   else result := Test.Factorial(value - 1) * value; //Error: Unknown name "Test"
end;

Original issue reported on code.google.com by masonwhe...@gmail.com on 2 Aug 2014 at 5:30