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
On javascript when a variable is not declared we get System.NullReferenceException: 'Object reference not set to an instance of an object.' at VisitVariableDeclarator.
[TO REPRODUCE]
On TypeScriptDemo add to foo.ts var i, length; just after the _timeout function.
[POSSIBLE FIX]
Execute Visit(variableDeclarator.Init) only if Init is not null
protected override void VisitVariableDeclarator(VariableDeclarator variableDeclarator)
{
if (variableDeclarator.Init != null)
{
// id skipped
Visit(variableDeclarator.Init);
}
}
Thank you
(I'm actually looking how to pull new request, sry i'm new to github)
The text was updated successfully, but these errors were encountered:
Hi adams85,
On javascript when a variable is not declared we get System.NullReferenceException: 'Object reference not set to an instance of an object.' at VisitVariableDeclarator.
[TO REPRODUCE]
On TypeScriptDemo add to foo.ts
var i, length;
just after the _timeout function.[POSSIBLE FIX]
Execute Visit(variableDeclarator.Init) only if Init is not null
Thank you
(I'm actually looking how to pull new request, sry i'm new to github)
The text was updated successfully, but these errors were encountered: