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
If you try to render the FlowNode(s) graph on p from within one case, you'll get the error $A.node.getText is not a function. This is due to changes on the data structures of flow nodes, after their attempt to increase monomorphization. Before TS 5.5 we got fn.switchStatement, now we have fn.node.switchStatement, but fn.node itself doesn't have the getText capability.
Will follow a small PR with a simple fix.
The text was updated successfully, but these errors were encountered:
jfet97
added a commit
to jfet97/ts-ast-viewer
that referenced
this issue
Sep 4, 2024
This is the code that causes problems:
If you try to render the FlowNode(s) graph on
p
from within onecase
, you'll get the error$A.node.getText is not a function
. This is due to changes on the data structures of flow nodes, after their attempt to increase monomorphization. Before TS 5.5 we gotfn.switchStatement
, now we havefn.node.switchStatement
, butfn.node
itself doesn't have thegetText
capability.Will follow a small PR with a simple fix.
The text was updated successfully, but these errors were encountered: