swc
swc copied to clipboard
jsc.assumptions documentation missing and iterableIsArray not working
Describe the bug
previous discussion see #7988
Input code
No response
Config
No response
Playground link
https://play.swc.rs/?version=1.3.88&code=H4sIAAAAAAAAA1NQUFBIzs8rLlFIVLBVyEstV%2FBNLNDQtOZSgEskASWijXQU9PT0EvXKEnNKU4s1NGOtAWMCyHo6AAAA&config=H4sIAAAAAAAAA21Ru27DMAzc8xWG5q7t0K1oELRDPoKxz4YKvUDSQIQg%2F17ZsQy76SbxHjziboemMT%2FSmvfmVp7lk4gFvP7LRHJQupaJ0ZwgLduk5qWiKhPUkxOssw5tZNLIUiDlETNwf%2BBGmYL0kf12icNAbT5W4aJ7djxDqSOlv4RRcERvA06RPx2JnCxcJzXaLoC3wfZ5u72NPjFEni7xFAaHf11wVXAg9wWXsF66gCXA6JPaGGS7xxYJXRy%2B5YOZ8k5TfV2Mgn0Qo8QDdKoA8moOC9n42I1zuqW7qZ8H6W1DqteuhsbKuSrndu6%2FEVamNQcCAAA%3D
SWC Info output
No response
Expected behavior
Setting assumptions rules should override corresponding rule in loose settings.
For example, setting iterableIsArray: false
and loose: true
should get all assumptions true except iterableIsArray false.
Actual behavior
iterableIsArray is not working
Version
1.3.88
Additional context
No response