Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Code Editor
Code Folding
Code Formatter
Error Insight
Formatting
Help Insight
Keymapping
Sync Edit
Syntax Highlighting
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Code Editor/Error Insight
[ Add a report in this area ]
Report #:
83558
Status:
Closed
"Expected > but received >=" with generic class declaration without whitespace
Project:
Delphi
Build #:
14.0.3615.26342
Version:
14.0
Submitted By:
Uwe Schuster
Report Type:
Minor failure / Design problem
Date Reported:
4/2/2010 1:48:01 PM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
275809
Resolution:
Cannot Reproduce
(Resolution Comments)
Resolved in Build:
:
15.0.3812.31499
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
A generic class declaration without a whitespace between the > and = leads to an "Expected > but received >=" error.
-> see steps
Steps to Reproduce:
- save the file at the end of the steps
- start Delphi
- open GenericsWhitespaceTest.dpr
expected: no Error Insight errors in the Structure view and the editor
actual:
Expected > but received >= at line 6 (6:9)
Expected PROCEDURE but received ( at line 6 (6:16)
- add a space between "TFoo<T>" and "=class(TObject);" and see the error goes away
program GenericsWhitespaceTest;
{$APPTYPE CONSOLE}
type
TFoo<T>=class(TObject);
begin
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