The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
svenbarth 66fa732720 Merged revision(s) 47634, 47655 from trunk:
* fix for Mantis #38145: allow overloading of assignment operators that return ShortStrings with a specific size
+ added tests

The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
  - if a found assignment operator returns a default ShortString then that is used
  - if only one assignment operator to a String[x] is found then that is used
  - otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
........
* with the recent ShortString changes this test is no longer needed as it was added exactly to check the condition I removed, so disable it for 3.2.1 and newer (as I want to merge these changes back to fixes)
........

git-svn-id: branches/fixes_3_2@49055 -
2021-03-26 06:18:40 +00:00
compiler Merged revision(s) 47634, 47655 from trunk: 2021-03-26 06:18:40 +00:00
installer Merge commit 48814: 2021-03-23 23:59:37 +00:00
packages --- Merging r48752 into '.': 2021-03-25 12:57:35 +00:00
rtl * Merging of commits changing rtl/win16/Makefile.fpc 2021-01-25 08:39:59 +00:00
tests Merged revision(s) 47634, 47655 from trunk: 2021-03-26 06:18:40 +00:00
utils Fix error in conflict resolution of previous merge 2021-03-24 00:11:34 +00:00
.gitattributes Merged revision(s) 47634, 47655 from trunk: 2021-03-26 06:18:40 +00:00
.gitignore --- Merging r47259 into '.': 2020-11-25 16:11:10 +00:00
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp --- Merging (from foreign repository) r44152 into '.': 2020-02-21 14:50:44 +00:00
Makefile Regenerate all Makefile's after ios introduction and macos->macosclassic changes inside utils/fpcm/fpcmake.ini 2020-09-23 09:47:20 +00:00
Makefile.fpc * merged macOS/AArch64 support + revisions these changes depended on 2020-09-15 19:40:36 +00:00