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 |
nickysn
|
f571aebdd0
* tx86pointertyp moved from unit symdef to symconst, so it can be used by ppudump
|
hace 12 años |
svenbarth
|
f1f89c77c3
Finally refactor "b_needs_init_final" flag to be a symtable flag which is written to/loaded from the PPU (as discussed in the thread "Status report for "class helpers"" in fpc-devel on 29th January 2011).
|
hace 12 años |
paul
|
d38bd1b9bd
compiler: remove dummy ado_none from tarraydefoption. It is probably a leftover from time when tarraydefoptions was not present, comment options
|
hace 12 años |
paul
|
d90445e5ee
compiler, rtl, tests: write Delphi compatible (more or less) type information for Class Reference and Pointer types (mantis #0024367)
|
hace 12 años |
nickysn
|
a9809323dc
some more generic i8086 defines added
|
hace 12 años |
svenbarth
|
168c9d152f
Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators.
|
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 |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
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 |
Jonas Maebe
|
4aa05f5133
+ support for automatically generating setters/getters for properties on the
|
hace 13 años |
Jonas Maebe
|
c4a55f5481
* store the "synthetic kind" information about procdefs in ppu files,
|
hace 13 años |
svenbarth
|
29c71d39ac
Preparations for upcoming work on generics:
|
hace 13 años |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
hace 13 años |
paul
|
a26bc50ca6
compiler: change ShortString->(Some)String and AnsiString->(Some)String overload precedence both for variables and string constants, change unicode constant type from widestring to unicodestring (Delphi compatibility)
|
hace 13 años |
paul
|
b80e7c8fba
compiler: change candidates search preference for variant arguments based on testing delphi XE + fixing tests
|
hace 13 años |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
hace 13 años |
svenbarth
|
bd19a16be9
Add support for Default() intrinsic. For now this is only (fully) supported
|
hace 13 años |
svenbarth
|
9cb16c950f
This fixes Mantis #20851 .
|
hace 13 años |
sergei
|
cbad0abab5
+ Platform-specific exception support for x86_64-win64. Enable by cycling with OPT=-dTEST_WIN64_SEH.
|
hace 13 años |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
hace 14 años |
svenbarth
|
87d9714221
Somehow the changes regarding tf_methods_specialized weren't commited, thus here they are again:
|
hace 14 años |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
hace 14 años |
svenbarth
|
594f84dc2c
Merge branch 'unique-syms'
|
hace 14 años |
paul
|
a1e0b833b2
compiler: fix ppu read/write of property parameters symtable (bug #0020454)
|
hace 14 años |
svenbarth
|
feeff56099
We need to flag specializations of record-/objectdef once we have generated their methods otherwise an interesting situation might occur:
|
hace 14 años |
svenbarth
|
90278ec755
Allow generics to be overloaded by variables.
|
hace 14 años |
paul
|
005795495d
merge r17552 from cpstrnew branch by inoussa:
|
hace 14 años |
paul
|
de21de2024
compiler: implement delphi like namespaces
|
hace 14 años |
Jonas Maebe
|
8a7982fe9e
* fixed wrong notes about declaring two destructors after r18427:
|
hace 14 años |