renan-guimaraes / dwscript

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

Wrong syntax error #336

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code:

var f : Float := 1; // OK

Type

TObj = Class
 f : Float := 1; // Error
End;

Output:

Syntax Error: Incompatible types: Cannot assign "Integer" to "Float" [line: 6, 
column: 16]

Original issue reported on code.google.com by kazantse...@mail.ru on 10 Feb 2013 at 11:39

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

Original comment by zar...@gmail.com on 11 Feb 2013 at 7:27