You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first check for !(_foo$bar.baz) is performed before the (_foo$bar = foo.bar) assignment, which means it will always throw an error, regardless of the actual value.
The text was updated successfully, but these errors were encountered:
The assert macro can expand in a more intelligent way with the correct configuration. When babel-plugin-debug-macros is provided with the assertPredicateIndex the predicate is injected in front of the assertion in order to avoid costly assertion message generation when not needed.
If I start with this code
it gets transformed into
The first check for
!(_foo$bar.baz)
is performed before the(_foo$bar = foo.bar)
assignment, which means it will always throw an error, regardless of the actual value.The text was updated successfully, but these errors were encountered: