gtalarico / ironpython-stubs

Autocomplete stubs for common IronPython/.NET libraries
Other
248 stars 80 forks source link

The properties which is generated for a class , the comments is right type but the type always None . #32

Open ChinaCowboy opened 1 year ago

ChinaCowboy commented 1 year ago

The properties which is generated for a class , the comments is right type but the type always None .
For example : Class1. FooProperty1 => FooClassProperty , in the stub for FooProperty1 in Class1 is None but comments is right . so it will not go further autocomplete for Foo, (Foo = Class1. FooProperty1) , it is suppose to be or i needs to set dependency for the modules generated ?

PavelAltynnikov commented 1 year ago

This is a problem of the stubs generator. The comment is correct because it was originally in the library.

mike-reilly-bg commented 1 year ago

I have made a script to fix this issue, see here: https://github.com/gtalarico/ironpython-stubs/pull/35