This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
In Python+Q# notebooks, error messages point to line numbers off-by-one #731
Labels
Area-Kernel
Issue relates to the IQ# kernel.
Area-Python
Issue relates to the Python client for the IQ# kernel.
Kind-Bug
Something isn't working
Describe the bug
In Python+Q# notebooks (both local and hosted on Azure Quantum), error message points to the line number off-by-one due to
%%qsharp
magic command taking up the first line. (Same as microsoft/QuantumKatas#658.)To Reproduce
Run any
%%qsharp
cell with a compilation error in it.Expected behavior
Displayed line numbers should match the ones where the error is.
The text was updated successfully, but these errors were encountered: