| Anonymous | Login | Signup for a new account | 2013-05-25 16:38 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0021654 | FPC | Compiler | public | 2012-04-05 19:04 | 2012-05-08 09:33 | ||||
| Reporter | Brainenjii | ||||||||
| Assigned To | Sven Barth | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | x86_64 | OS | Linux | OS Version | |||||
| Product Version | 2.7.1 | Product Build | 20709 | ||||||
| Target Version | Fixed in Version | 2.7.1 | |||||||
| Summary | 0021654: "Fatal: Compilation aborted" on Static field at Generics | ||||||||
| Description | Same code works fine on 2.6.0 === program test; Type { TMyGeneric } Generic TMyGeneric<T> = Class Private bValue: Integer; Static; Function GetValue: Integer; Public Property Value: Integer Read GetValue; Constructor Create(Const aValue: Integer); End; { TMyGeneric } Function TMyGeneric.GetValue: Integer; Begin Result := bValue; end; Constructor TMyGeneric.Create(Const aValue: Integer); Begin bValue := aValue; End; Type TMyClass = Specialize TMyGeneric<TObject>; begin end. === | ||||||||
| Tags | generics | ||||||||
| FPCOldBugId | |||||||||
| Fixed in Revision | 21251 | ||||||||
| Attached Files | |||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0059382) Sven Barth (manager) 2012-05-08 09:33 |
Please test and close if okay. Regards, Sven |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-04-05 19:04 | Brainenjii | New Issue | |
| 2012-04-10 14:50 | Sven Barth | Tag Attached: generics | |
| 2012-05-08 09:33 | Sven Barth | Fixed in Revision | => 21251 |
| 2012-05-08 09:33 | Sven Barth | Relationship added | duplicate of 0021550 |
| 2012-05-08 09:33 | Sven Barth | Duplicate ID | 0 => 21550 |
| 2012-05-08 09:33 | Sven Barth | Status | new => resolved |
| 2012-05-08 09:33 | Sven Barth | Fixed in Version | => 2.7.1 |
| 2012-05-08 09:33 | Sven Barth | Resolution | open => fixed |
| 2012-05-08 09:33 | Sven Barth | Assigned To | => Sven Barth |
| 2012-05-08 09:33 | Sven Barth | Note Added: 0059382 | |
| Main | My View | View Issues | Change Log | Roadmap |



