Skip to content

Update SourcePawn.#2454

Merged
dvander merged 1 commit intomasterfrom
update-sp
May 3, 2026
Merged

Update SourcePawn.#2454
dvander merged 1 commit intomasterfrom
update-sp

Conversation

@dvander
Copy link
Copy Markdown
Member

@dvander dvander commented May 3, 2026

This modifies smn_sorting to use the new 2D array access API.

@peace-maker
Copy link
Copy Markdown
Member

This brought in other changes I guess which fail the mock CI.

SourcePawn Compiler 1.13.0.1
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2024 AlliedModders LLC

../sourcemod/plugins/testsuite/mock/test_format.sp(141) : error 450: no viable conversion from 'int64' to 'any'
   141 |     AssertFmtEq("'%b'",             4294967295,     "'11111111111111111111111111111111'");
---------------------------------------------^

../sourcemod/plugins/testsuite/mock/test_format.sp(518) : error 450: no viable conversion from 'int64' to 'any'
   518 |     AssertFmtEq("'%u'",             4294967295,     "'4294967295'");
---------------------------------------------^

2 Errors.

This modifies smn_sorting to use the new 2D array access API.
@dvander
Copy link
Copy Markdown
Member Author

dvander commented May 3, 2026

The compiler treats decimal literals > INT_MIN and <= UINT_MAX as int64s now, so the test needs a little fixup.

@dvander dvander merged commit 6739b0c into master May 3, 2026
4 checks passed
@dvander dvander deleted the update-sp branch May 3, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants