1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

'not case' expression, case variable scope change

This commit is contained in:
Brian Fiete 2025-02-22 09:56:39 -08:00
parent 471897a150
commit 5feb0c044b
15 changed files with 133 additions and 19 deletions

View file

@ -2423,8 +2423,8 @@ namespace System {
if (dynamicKey.GetValue(c_firstEntryValue) case .Ok(let val))
first = val.Get<int32>();
int32 last = -1;
if (dynamicKey.GetValue(c_lastEntryValue) case .Ok(let val))
last = val.Get<int32>();
if (dynamicKey.GetValue(c_lastEntryValue) case .Ok(let val2))
last = val2.Get<int32>();
if ((first == -1) || (last == -1) || (first > last)) {
rules = null;