AArhin / dwscript

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

Access violation #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code:

Type 

 TAction = Class Abstract

  Function GetTitle : String; Virtual; Abstract;
  Function GetHint : String; Virtual; Abstract;

 End;

Type

 TFileOpenAction = Class(TAction)
  Function GetTitle : String; Override;
  Begin
  End;
 End;

PrintLn(TFileOpenAction.Create.GetHint);  

Output:

Runtime Error: Access violation at address 0051D618 in module 'test.exe'. Read 
of address 00000000 in TAction.GetHint [line: 18, column: 32]

Original issue reported on code.google.com by kazantse...@mail.ru on 5 May 2012 at 2:56

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

Original comment by zar...@gmail.com on 6 May 2012 at 3:58