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
I have come across some instances where I felt that the MSVC build set up gives different outputs to other machines. One such case can be seen in #1590 .
Snippet -
def fun():
x : dict[i32, i32] = {1: 2}
print(x[1])
y : dict[str, i32]
y = {"apple": 1}
print(y["apple"])
fun()
On my MSVC windows setup -
(lp) C:\Users\kunni\lpython>src\bin\lpython try.py
code generation error: Variable type not supported 12
--> try.py:5:5
|
5 | y : dict[str, i32]
| ^^^^^^^^^^^^^^^^^^