Wrong code crashes the compiler

Issue #72 resolved
Christian Budde created an issue

The below code is obviously wrong ('write' instead of 'read', '.' after a write-only float variable). However, it should not crash the compiler.

type
  TFoo = class
  private
    FBar: Float;
  public
    property Bar: Float write FBar;
  end;

var Foo := TFoo.Create;
Foo.Bar.

Comments (1)

  1. Log in to comment