eygraber
08/30/2022, 9:38 PMLEGACY
and IR
compilers to support some users (I was only using IR
before).
After doing so I got strange test failures that were all related to conditions in a when
not matching properly.
Works on JS IR and all other backends except JS LEGACY:
when(uriString[end]) {
'/',
'\\',
'?',
'#'
-> break // break isn't executed when uriString[end] == '/'
}
Works on all backends:
val c = uriString[end]
if(c == '/' || c == '\\' || c == '?' || c == '#') break
Is behavior like this expected?Tom Yuval
08/31/2022, 7:23 AMturansky
08/31/2022, 8:46 AMeygraber
08/31/2022, 2:06 PM