Jeff Niu

Results 133 comments of Jeff Niu

This is a known issue. Capture state is stack allocated. It should be heap allocated and it's something we plan to fix.

This issue is observed here as well https://github.com/modularml/mojo/issues/111

lang. Closures are a language issue

We will have to wait until keyword arguments are wired up... but thanks for the suggestions!

@DayDun is correct. The Python interpreter implements special logic for mixed arithmetic between `int` and `float`. The `NotImplemented` error is coming from CPython. `PythonObject` will just need to implement the...

Right. `PythonObject` will need to specially check for mixed arithmetic and do the right thing, whatever that may be.

@stumpOS can you take a look at this?

Thanks for filing. I'll take a look soon

``` a = "k" foo(a) ``` This is failing in an `fn` because the string cannot be implicitly converted to `Int` in the function call. It works for `def` because...