bcquality/microsoft
wenjiefan 0e45f02035 fix: subscribers bind by parameter name, not by leading prefix
The first revision claimed AL binds a subscriber to a leading prefix of the publisher parameter list and that a parameter may not be skipped in the middle. That is wrong. Verified against shipping BCApps code: Test Runner - Mgt publishes OnBeforeTestMethodRun(var CurrentTestMethodLine; CodeunitID; CodeunitName; FunctionName; FunctionTestPermissions; var Skip), and ALTestRunnerResetEnvironment binds to it declaring (CodeunitID; CodeunitName; FunctionName; FunctionTestPermissions; var CurrentTestMethodLine) - omitting Skip and moving the first parameter to last. Binding is by name, so any subset in any order is valid. Detection now targets a parameter whose name or type matches nothing on the publisher.
2026-08-28 09:27:17 +02:00
..
knowledge fix: subscribers bind by parameter name, not by leading prefix 2026-08-28 09:27:17 +02:00
skills style-review: calibrate variable-declaration order (AA0021) to info (#109) 2026-07-17 14:17:32 +02:00