svenbarth
|
b9a59c33f4
Fix for Mantis #25915.
|
преди 11 години |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
преди 11 години |
svenbarth
|
ddb78fefdc
Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3)
|
преди 11 години |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
преди 12 години |
paul
|
1c578de28c
compiler:
|
преди 12 години |
Jonas Maebe
|
9619ed8b4b
- undo hack from r25713
|
преди 12 години |
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 години |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
преди 12 години |
paul
|
115ddf4364
compiler: modernize exception class parse:
|
преди 12 години |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
преди 12 години |
sergei
|
d54d38b4ab
* Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas.
|
преди 12 години |
florian
|
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
|
преди 12 години |
florian
|
1f978ba9fe
* 16 bit targets cannot use Word and Longint as array index
|
преди 12 години |
svenbarth
|
489e038379
Disallow "protected" and "strict protected" in extended records (Delphi compatible).
|
преди 12 години |
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 години |
paul
|
7c663af588
compiler: also don't allow record constructors with only default arguments
|
преди 12 години |
paul
|
1b8369dd99
compiler: don't allow parameterless constructors
|
преди 12 години |
paul
|
3a3c10a474
compiler: don't allow constants, methods, class members and properties for local or anonymous records (fixes bug #0023000)
|
преди 12 години |
paul
|
b2a613c17f
compiler: implement record constructors + tests
|
преди 12 години |
svenbarth
|
29bd000a4a
Fix for Mantis #23571.
|
преди 12 години |
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...
|
преди 13 години |
Jonas Maebe
|
64740049bf
* fix for mantis #22796: add alignment padding to records before inserting
|
преди 13 години |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
преди 13 години |
svenbarth
|
f9211271d5
Fix for Mantis #22154:
|
преди 13 години |
svenbarth
|
cc65ac20c5
Fix for Mantis #22220
|
преди 13 години |
svenbarth
|
8c95ea039f
Fix for Mantis #22219
|
преди 13 години |
svenbarth
|
d2fabd2a22
Fix for Mantis #21350
|
преди 13 години |
svenbarth
|
bf9cb352b3
ptype.pas, single_type: If the generic dummy type is used in mode Delphi then generate an error. This fixes Mantis #21363.
|
преди 13 години |
svenbarth
|
dbc410de63
Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688.
|
преди 13 години |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
преди 13 години |