qdk icon indicating copy to clipboard operation
qdk copied to clipboard

Broken expression node at the end of a cell breaks the AST

Open minestarks opened this issue 1 year ago • 0 comments

In VS Code, in a Jupyter notebook cell, type some code that ends with an incomplete expression, like:

%%qsharp

function Foo() : Unit {}
let abc = Foo();
let x = 

Try using editor features like hover, go-to-def for any of the valid code above the last line.

Expected: Code above the last broken line works

Actual: The entire cell seems to be broken.

minestarks avatar Oct 11 '24 23:10 minestarks