Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Error Recovery    [ Add a report in this area ]  
Report #:  82098   Status: Closed
Class function declared outside of a class causes Internal Error
Project:  Delphi Build #:  14.0.3615.26342
Version:    14.0 Submitted By:   Tom Field
Report Type:  Crash / Data loss / Total failure Date Reported:  2/12/2010 8:47:09 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   274491
Resolution: Fixed (Resolution Comments) Resolved in Build: : 15.0.3832.32081
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The syntactically incorrect declaration of a class function outside of a class in the interface causes the following Internal Error:


[DCC Fatal Error] junk.pas(11): F2084 Internal Error: AV089BDADE-R00000000-0
Steps to Reproduce:
unit junk;

interface

type
  TMyClass = class(TObject)
  end;

  class function MyFunction:Boolean;  // <--- This line causes Internal Error

implementation

end.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01