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
When calling insert and insertAfter different behaviour is exhibited.
Below is a JS translation of the CxxTest.testNoParsing test. The version on the left (insert("after", ...)) passes the test. The one on the right (insertAfter(...)) doesn't.
Below is also a comparison between the original LARA code and the JS translation.
Additionally the following warning is shown when executing the insertAfter(...) version:
Can only insert Decl nodes in a file, tried to insert a 'statement'
The text was updated successfully, but these errors were encountered:
When calling
insert
andinsertAfter
different behaviour is exhibited.Below is a JS translation of the
CxxTest.testNoParsing
test. The version on the left (insert("after", ...)
) passes the test. The one on the right (insertAfter(...)
) doesn't.Below is also a comparison between the original LARA code and the JS translation.
Additionally the following warning is shown when executing the
insertAfter(...)
version:The text was updated successfully, but these errors were encountered: