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
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Consider two files A.B.qs and B.qs with namespaces A.B and B and operation Foo defined in B.qs. Fully qualified call B.Foo() in A.B.qs is valid Q# code that leads to invalid C# code,
because in C# B.Foo() is equivalent to A.B.Foo() in this case.
Describe the bug
Consider two files
A.B.qsandB.qswith namespacesA.BandBand operationFoodefined inB.qs. Fully qualified callB.Foo()inA.B.qsis valid Q# code that leads to invalid C# code,because in C#
B.Foo()is equivalent toA.B.Foo()in this case.To Reproduce
First file:
Second file:
Expected behavior
Successful compilation of Q# program.
Actual behavior
C# compilation error
System information
Additional context
Not critical, the simple workaround is to avoid the situation by naming namespaces differently.