From f248f1bab7fe1046e5e5c14f39cf4b7dc5e74851 Mon Sep 17 00:00:00 2001 From: Andrew Morris Date: Fri, 21 Jul 2023 17:49:42 +1000 Subject: [PATCH] Document SWC bug --- inputs/failing/spuriousAssignmentBug.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inputs/failing/spuriousAssignmentBug.ts b/inputs/failing/spuriousAssignmentBug.ts index 18f733b8..673092fd 100644 --- a/inputs/failing/spuriousAssignmentBug.ts +++ b/inputs/failing/spuriousAssignmentBug.ts @@ -1,3 +1,7 @@ +// This is an SWC bug. It appears to be fixed in the latest version, but the latest version also +// doesn't compile in stable rust. Hopefully this is also fixed in the latest stable version, we +// just need to figure out what that is. + export default function main() { return [3n < "asdf", 3n >= "asdf"]; }