-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
julia nightly build throws TypeError in the implementation of Base.methods() #49982
Comments
It looks like you are trying to call |
I'm not sure why it would not be a good idea for a generated method to inspect the methods (in my case, constructors of a type). Should I build a data structure that caches the information needed by the generated method before invoking it, and have the method pull the data from that data structure? |
@vtnash Are you saying it is expected/intentional that |
We should probably make that error message clearer, though it is not unexpected |
Not really a functional change, but just improving the error message here to be consistent with other code reflection calls here. Closes #49982
Testing my code passes my tests on 1.6.2, 1.8, 1.8.2, and 1.9. However, it fails on nightly with an exception.
versioninfo()
reportsI installed the nightly by downloading the Apple silicon nightly build, mounting it, and dragging the app into my Applications folder.
You can reproduce the failure as follows (my repo is only a couple of hundred lines of code):
This will result, in short order, in
The text was updated successfully, but these errors were encountered: