-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type<n>
cannot be hinted properly in IDEs.
#549
Comments
That's because they're generated at runtime: Lines 72 to 83 in 2916498
I suspect it'd be a simple exercise to rewrite this so that it generates source code that can then be read by an IDE? I'd be open to looking at a PR... |
I've looked everywhere and tried many things. It's impossible not to declare the variable name before runtime. Would that be an okay fix? |
I agree. That's why I proposed that we generate the source at install time. |
The
type<n>
cannot be hinted properly in IDEs.e.g
The
make_float4
function andfloat4
types are not recognized. They are executed, but I think since they are not explicitly declared incltypes.py
, the ides have a hard time understandingThe text was updated successfully, but these errors were encountered: