AArhin / dwscript

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

Unexpected syntax error #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code:

var c := TClass;

If Assigned(c.ClassParent) Then; // OK
If c.ClassParent <> NIL Then; // syntax error here

Output:

Syntax Error: Invalid Operands [line: 4, column: 18]

Original issue reported on code.google.com by kazantse...@mail.ru on 5 Oct 2012 at 11:07

GoogleCodeExporter commented 9 years ago
Fixed + added test

Original comment by zar...@gmail.com on 8 Oct 2012 at 10:05