Skip to content

Commit

Permalink
Document SWC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
voltrevo committed Jul 21, 2023
1 parent 0ec8093 commit 0d59881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inputs/failing/spuriousAssignmentBug.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// 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.
// Related: https://github.com/swc-project/cli/issues/218.

export default function main() {
return [3n < "asdf", 3n >= "asdf"];
}

0 comments on commit 0d59881

Please sign in to comment.