svenbarth
|
00f776ef76
pgenutil.pas, parse_generic_specialization_types_internal:
|
10 yıl önce |
svenbarth
|
84b9d9839c
+ extend tobjectdef with the possiblity to create it as unregistered
|
10 yıl önce |
svenbarth
|
d45c275ef3
+ extend ttypesym with the possiblity to create it as unregistered
|
10 yıl önce |
florian
|
83a7fa2320
o fix compilation of the compiler
|
10 yıl önce |
svenbarth
|
eaab604f0c
pgenutil.pas:
|
10 yıl önce |
svenbarth
|
e8fca1c9c0
* move tspecializationstate from pgenutil.pas into a new unit named pgentype.pas which contains types related to generics with as few dependencies as possible.
|
10 yıl önce |
svenbarth
|
19c6d72c7b
Fix for Mantis #27750.
|
10 yıl önce |
Jonas Maebe
|
25e6eaf07f
* store the to be used recordalignmin and maxcrecordalign settings inside
|
10 yıl önce |
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.
|
10 yıl önce |
svenbarth
|
04534d5dcf
Fix for Mantis #27424.
|
10 yıl önce |
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).
|
10 yıl önce |
svenbarth
|
fa1bc0757d
Fix for Mantis #26922.
|
10 yıl önce |
svenbarth
|
16774350d7
Fix for Mantis #26749 .
|
11 yıl önce |
svenbarth
|
684c8842e7
Fix for Mantis #26599.
|
11 yıl önce |
svenbarth
|
856ae9d3cf
Fix for Mantis #26482.
|
11 yıl önce |
svenbarth
|
1bbcc08a8b
Fix for Mantis #26176. Don't handle "type helper" as unique.
|
11 yıl önce |
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.
|
11 yıl önce |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 yıl önce |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 yıl önce |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
11 yıl önce |
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.
|
11 yıl önce |
svenbarth
|
32beb30129
Small improvements for generate_specializations.
|
12 yıl önce |
svenbarth
|
e8edbd29c0
Fix for Mantis #24687.
|
12 yıl önce |
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.
|
12 yıl önce |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
12 yıl önce |
svenbarth
|
d03507671d
Fix for Mantis #24953.
|
12 yıl önce |
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).
|
12 yıl önce |
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).
|
12 yıl önce |
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).
|
12 yıl önce |
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.
|
12 yıl önce |