Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/Other Compiler
[ Add a report in this area ]
Report #:
78101
Status:
Closed
F2084 Internal Error: C13394 (when accessing a boolean property on a record returned by an array property)
Project:
Delphi
Build #:
14.0.3539.24502
Version:
14.0
Submitted By:
Thorsten Engler
Report Type:
Crash / Data loss / Total failure
Date Reported:
9/26/2009 8:33:51 PM
Severity:
Infrequently encountered problem
Last Updated:
8/31/2010 10:56:24 PM
Platform:
All platforms
Internal Tracking #:
Resolution:
Duplicate
Resolved in Build:
:
15.0.3722.28600
Duplicate of:
65595
Voting and Rating
Overall Rating:
(1 Total Rating)
4.00 out of 5
Total Votes:
3
Description
None
Steps to Reproduce:
program Project1;
{$APPTYPE CONSOLE}
uses
SysUtils;
type
TValue = record
function GetIntTest: Integer;
function GetIsEmpty: Boolean;
property IsEmpty: Boolean read GetIsEmpty;
property IntTest: Integer read GetIntTest;
end;
TObject2 = class(TObject)
private
function GetTag(const aTag: string): TValue;
procedure SetTag(const aTag: string; const aValue: TValue);
public
property Tags[const aTag: string]: TValue
read GetTag
write SetTag;
end;
{ TObject2 }
function TObject2.GetTag(const aTag: string): TValue;
begin
{ignore}
end;
procedure TObject2.SetTag(const aTag: string; const aValue: TValue);
begin
{ignore}
end;
var
Obj2 : TObject2;
{ TValue }
function TValue.GetIntTest: Integer;
begin
Result := 1;
end;
function TValue.GetIsEmpty: Boolean;
begin
Result := True;
end;
begin
try
//[DCC Fatal Error] Project1.dpr(64): F2084 Internal Error: C13394
Assert(Obj2.Tags['Snafu'].IsEmpty);
//works
Assert(Obj2.Tags['Snafu'].IntTest = 1);
except
on E: Exception do
Writeln(E.ClassName, ': ', E.Message);
end;
end.
Workarounds
None
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us