Jeff Bezanson
Jeff Bezanson
I appreciate all your work on this, but I am really not convinced we need it. I'm not sure that "fixing" #37977 is really a priority; Julia on its own...
Yes, I agree --- you should only scan up to the actual stack pointer, and excluding guard pages was just a hack to attempt to make scanning work without knowing...
Also, 55555 55555 55555 55555 55555 !
That doesn't really bother me because it's much more general than just when init runs; you can run arbitrary code on any line of the module before the whole module...
I think having this feature misleads you to think the defaults are fixed constants, when they are not. It just seems incompatible to me with the semantics we have of...
I think the main complexity is that the default for a field can depend on previous fields, so generating the defaults can't be entirely separated from a constructor call.
That should be fixed by integration with PackageCompiler. It knows how to do all that stuff.
OK, I deleted everything. Now this is barely 1000 lines. Don't worry it's all on a backup branch jb/gb/static-call-graph-backup. I converted the juliac machinery into a test case so we...
Hopefully there aren't many examples out there of dynamic depwarns. But it could be a problem because people won't want false positives from those. Anyway `depwarn` is currently not known...
Yes I agree the right thing for now is just to disable it.