ghkweon / dwscript

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

Syntax error on helper using #260

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Code:

Type

 THelper = Helper For Integer

  Procedure Proc;
  Begin
  End;

 End;

Var vv : Variant := 56;

PrintLn(Integer(vv)); // OK 
Integer(vv).Proc; // Syntax Error: Invalid Instruction - function or assignment 
expected [line: 14, column: 1]

Original issue reported on code.google.com by kazantse...@mail.ru on 3 May 2012 at 4:14

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1439.

Original comment by zar...@gmail.com on 4 May 2012 at 7:00