svenbarth
|
aa0f1bdf26
pdecl.pas, readconstant: If we are parsing a constant declaration in a generic and we encounter an intrinsic then this intrinsic is left as is (thus the node p returned by comp_expr will be a inlinen instead of an expected ordconstn, stringconstn, etc.). Nevertheless we need to create a symbol for the constant (which isn't done otherwise). In the case of SizeOf a constant "0" will be created. This fixes Mantis #21593.
|
há 13 anos atrás |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
há 13 anos atrás |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
há 13 anos atrás |
florian
|
ce845bf97c
* introduction of in_generic in r20699 was unneeded, replaced by parse_generic
|
há 13 anos atrás |
florian
|
79a77ae7d6
+ in_generic for testing if currently a generic declaration/definition is parsed/record
|
há 13 anos atrás |
paul
|
d59c0237b2
compiler: global property can't be a class property
|
há 13 anos atrás |
svenbarth
|
9cb16c950f
This fixes Mantis #20851 .
|
há 13 anos atrás |
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 .
|
há 13 anos atrás |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
há 13 anos atrás |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
há 13 anos atrás |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
há 13 anos atrás |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
há 13 anos atrás |
paul
|
c1866d5c17
compiler:
|
há 13 anos atrás |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
há 14 anos atrás |
svenbarth
|
a93aeebb1f
types_dec:
|
há 14 anos atrás |
svenbarth
|
6b03193783
Switching from overloaded type symbol to unique symbol per generic.
|
há 14 anos atrás |
paul
|
8b0cb2c1d5
compiler:
|
há 14 anos atrás |
Jonas Maebe
|
d48fa1d7e2
* for all managed VM targets, reject ord->ptr typecasts (except for 0),
|
há 14 anos atrás |
Jonas Maebe
|
b3072b3dab
* extracted the code to deal with static fields into a routine
|
há 14 anos atrás |
Jonas Maebe
|
37aa2d8443
+ full support for sets on the JVM target
|
há 14 anos atrás |
Jonas Maebe
|
569228447d
* converted all enum handling for the JVM target so that it uses the
|
há 14 anos atrás |
Jonas Maebe
|
d0b1bfa52d
* mark sp_internal fields as "synthetic"
|
há 14 anos atrás |
Jonas Maebe
|
43c5ed20c2
+ support for initialising typed constants via compiler-generated
|
há 14 anos atrás |
Jonas Maebe
|
c264c24fb0
+ support for unit initialisation sections for the JVM target,
|
há 14 anos atrás |
Jonas Maebe
|
30a6290aac
+ support for formal constants (= not typed constants) in Java interfaces,
|
há 14 anos atrás |
Jonas Maebe
|
37b5c061e3
+ support for "final" fields in *external* (Java and other) classes, enabled
|
há 14 anos atrás |
Jonas Maebe
|
6b176351e1
* removed jvmdef.jvminternalstaticfieldname() and now use newly created
|
há 14 anos atrás |
Jonas Maebe
|
6e82417a51
* various small support fixes for Java classes:
|
há 14 anos atrás |
Jonas Maebe
|
f67919e9f5
+ odt_javaclass, odt_interfacejava objectdef types
|
há 14 anos atrás |
Jonas Maebe
|
d7c1967351
* fixed switched around lists for read-only/read-write typed consts
|
há 14 anos atrás |