[BUG]: Mojo fails to handle imported python functions with keyword arguments #964
Labels
bug
Something isn't working
mojo
Issues that are related to mojo
mojo-lang
Tag for all issues related to language.
mojo-python-interop
mojo-repo
Tag all issues with this label
Bug description
Mojo behaves unexpectedly when calling python code with keyword arguments.
The code is seemingly never called, and if the result is stored in a variable code that interacts with this variable also starts acting unexpectedly.
In the example code below I would expect to either get an error, or have
0
and200
printed, but instead nothing is printed.Steps to reproduce
test.mojo
:test.py
:System information
- Windows 11 with Ubuntu in WSL - mojo 0.3.1 (a3eed7c8) - modular 0.1.4 (6b54d308)
The text was updated successfully, but these errors were encountered: