Browse Source

* CodeWarrior apparently supports a combination of FPC-like using the
function result as a variable, and Delphi/TP-like "using the function name
inside the function means a recursive call". In order to prevent
confusion, we no longer support the former behaviour since r21817
because the conditions under which one or the other holds are not well
defined and it's easier to fix a compiler error then to discover why
a recursive function call doesn't do anything (mantis #22344)

git-svn-id: trunk@24182 -

Jonas Maebe 12 năm trước cách đây
mục cha
commit
b9ed22b705
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      tests/test/tmacfunret.pp

+ 2 - 0
tests/test/tmacfunret.pp

@@ -1,3 +1,5 @@
+{ %fail }
+
 program tmacfunret;
 program tmacfunret;
   {$MODE MACPAS}
   {$MODE MACPAS}