svenbarth
|
a1ef0add65
When searching for the generic def of nested types inside specializations we first need to check local declarations inside the method if we are in one. Only then we may search inside the type's declaration. Fixes #20836 .
|
14 ani în urmă |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
14 ani în urmă |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
14 ani în urmă |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
14 ani în urmă |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
14 ani în urmă |
paul
|
c1866d5c17
compiler:
|
14 ani în urmă |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
14 ani în urmă |
svenbarth
|
a93aeebb1f
types_dec:
|
14 ani în urmă |
svenbarth
|
6b03193783
Switching from overloaded type symbol to unique symbol per generic.
|
14 ani în urmă |
paul
|
8b0cb2c1d5
compiler:
|
14 ani în urmă |
Jonas Maebe
|
d7c1967351
* fixed switched around lists for read-only/read-write typed consts
|
14 ani în urmă |
svenbarth
|
de1e6b1c3d
Implement support for nested non-generic types inside generic types. This is mostly for records, classes and objects ("structures") as those didn't work at all, but the others (arrays, procvars) weren't done cleanly either.
|
14 ani în urmă |
svenbarth
|
8f0583ffb2
Switching from overloaded type symbol to unique symbol per generic.
|
14 ani în urmă |
svenbarth
|
b1959e5e89
Moved "parse_generic_parameters" and "insert_generic_parameter_types" from "pdecl.pas" to "pgenutil.pas"
|
14 ani în urmă |
svenbarth
|
80100734c5
*type symbol overloads are only allowed in mode Delphi
|
14 ani în urmă |
svenbarth
|
d0705a1779
Rebase to revision 17236
|
14 ani în urmă |
Jonas Maebe
|
ac283bb237
* when checking whether the current class definition finalises an existing
|
14 ani în urmă |
svenbarth
|
5218666328
* ncgrtti.pas: RTTI generation for helpers is handled like that for classes
|
15 ani în urmă |
svenbarth
|
963a4d7b23
Commit of a completely restructured helper implementation. Instead of changing objectdefs with odt_classhelper to odt_class, they'll have the odt_helper type assigned to and this will be kept. This also implies that the parent of a helper is its true parent while the extended type is set to a field in tobjectdef (extendeddef).
|
15 ani în urmă |
svenbarth
|
07eebff55c
Rebase to revision 16827
|
15 ani în urmă |
paul
|
86482658a8
compiler: fix tgeneric11 test:
|
15 ani în urmă |
svenbarth
|
a9b64c80ad
Rebase to revision 16728
|
15 ani în urmă |
svenbarth
|
aed9f0a5f7
Added first version of class helper support (not fully working and not fully featured)
|
15 ani în urmă |
paul
|
e0e01899e5
compiler: move parse_generic_parameters to the interface of pdecl unit, move insert_generic_parameter_types to pdecl unit to access them from pdecsub (preparations for generic methods implementation)
|
15 ani în urmă |
paul
|
2599cc63bd
compiler: implement generic procedural types
|
15 ani în urmă |
paul
|
4cfcc7ae7b
compiler: implement delphi generic syntax for delphi mode
|
15 ani în urmă |
Jonas Maebe
|
360d102ea4
* fixed some comments after r16684
|
15 ani în urmă |
Jonas Maebe
|
3ca3276400
* changed syntax of external objcclasses (see wiki/FPC_PasCocoa). Another
|
15 ani în urmă |
paul
|
55a0fefb1f
compiler: implement generic array type:
|
15 ani în urmă |
Jonas Maebe
|
2222f2c44b
* renamed is_class_or_interface_or_dispinterface_or_objc() into
|
15 ani în urmă |