Jonas Maebe
|
25e6eaf07f
* store the to be used recordalignmin and maxcrecordalign settings inside
|
hace 10 años |
svenbarth
|
d849734acd
Specialize the correct generic if it has the same name as another generic that is located at another place of the type hierarchy.
|
hace 10 años |
svenbarth
|
04534d5dcf
Fix for Mantis #27424.
|
hace 10 años |
svenbarth
|
0d1d3d8e72
Fix for Mantis #25917. With this change the visibility of type parameters is changed from public to strict private as otherwise unexpected (and "unworkaroundable") errors might occur (like the one in the mentioned bug report).
|
hace 10 años |
svenbarth
|
fa1bc0757d
Fix for Mantis #26922.
|
hace 10 años |
svenbarth
|
16774350d7
Fix for Mantis #26749 .
|
hace 11 años |
svenbarth
|
684c8842e7
Fix for Mantis #26599.
|
hace 11 años |
svenbarth
|
856ae9d3cf
Fix for Mantis #26482.
|
hace 11 años |
svenbarth
|
1bbcc08a8b
Fix for Mantis #26176. Don't handle "type helper" as unique.
|
hace 11 años |
svenbarth
|
639a59df92
Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them.
|
hace 11 años |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
hace 11 años |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
hace 12 años |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
hace 12 años |
svenbarth
|
76f6de5cf1
Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again.
|
hace 12 años |
svenbarth
|
32beb30129
Small improvements for generate_specializations.
|
hace 12 años |
svenbarth
|
e8edbd29c0
Fix for Mantis #24687.
|
hace 12 años |
svenbarth
|
fb8b0e7a27
Fix for Mantis #24453. Check for nested types after a specialization. Additionally check correctly whether a type is really a generic before accepting it when parsing a generic.
|
hace 12 años |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
hace 12 años |
svenbarth
|
d03507671d
Fix for Mantis #24953.
|
hace 12 años |
svenbarth
|
53ea24a0b1
Correctly specialize generics if locally declared types are used (e.g. two procedures could both define a different "TRec" type which is used to specialize a generic inside the procedures).
|
hace 12 años |
svenbarth
|
956b26bc97
Completely reworked implementation of generic constraints, by moving the generic constraint data from the symbols to the definitions (I originally thought that this would simplyfy things, but the more correct approach is to add it to the defs).
|
hace 12 años |
svenbarth
|
cc5a108cca
Allocate the list for generic parameters in tstoreddef only on demand as most defs won't contain generic parameters anyway (avoids a little bit of runtime and memory overhead per def).
|
hace 12 años |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
hace 12 años |
svenbarth
|
fdb1950227
Fix for revision 23344.
|
hace 12 años |
svenbarth
|
27f5e4f582
Fix for Mantis #23547. Basically we now fail with nicer error messages.
|
hace 12 años |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
hace 12 años |
svenbarth
|
9ef4a35a7b
Fix the fix for Mantis #21538. The check never really worked up to now...
|
hace 12 años |
svenbarth
|
54c1e638ad
Fix for Mantis #22428.
|
hace 13 años |
svenbarth
|
88af293155
Fix for Mantis #22160
|
hace 13 años |
svenbarth
|
29c71d39ac
Preparations for upcoming work on generics:
|
hace 13 años |