-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Param with type "array of const" doesn't work #241
Comments
zedxxx
changed the title
Param with type "array of const" don't work
Param with type "array of const" doesn't work
Dec 27, 2020
@Vizit0r which branch/pr? |
@Vizit0r I tested your fork and can confirm that it fixes this bug. |
evgenyk2
pushed a commit
that referenced
this issue
Sep 26, 2024
Array of const works. |
@L00pZBreak3r I think you should report a new issue about this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want use in script this Delphi function:
function Format_P(const Format: string; const Args: array of const): string;
If I use PascalScript sources from
stable
branch then all works fine, but when I switch to themaster
branchArgs
receives some garbage instead of actual values. My Delphi version is 10.3.3.This bug can be easily reproduced with the test:
Test result:
stable
branch outputs:a=1 b=2
(correct)master
branch outputs:a= b=-1
(incorrect)The text was updated successfully, but these errors were encountered: