Julia-vscode: A bunch of Base identifiers are said to be "Missing reference"

Created on 18 Jul 2019  路  14Comments  路  Source: julia-vscode/julia-vscode

This is when editing files in Base if that matters:

Screenshot 2019-07-18 at 16 02 18
Screenshot 2019-07-18 at 16 02 10

area-ls-linter bug

Most helpful comment

I'm assuming this is the same issue? The squigglies are "Missing reference" errors. (Note the code runs fine)

errors

All 14 comments

For some reason I though Core wasn't imported into a baremodule... fixed here: https://github.com/julia-vscode/StaticLint.jl/commit/10032ba9da03eb10fdd8a7d4fdce252e74a641f1

Then we can close this, right?

Still doesn't seem completely fixed

Screenshot 2019-07-18 at 21 47 29

The `bitcast麓 and company are intrinsics so that could be why they are not found.

Note sure about the widenconst.

One way to repro is just to open the julia source folder and look at the thousands of missing references reported.

I'd say we fix it for v0.12.1? I _really_ want to ship a version before the weekend :)

Yep that should be the plan. I'm going to start working my way through /base to get all that symbol resolution working

I'm assuming this is the same issue? The squigglies are "Missing reference" errors. (Note the code runs fine)

errors

@darrickyee, this is more likely due to a SymbolServer bug (possibly fixed).

A large number of the missing Base references are due to the non-relative path respecting internal include method. I just need to work out the least offensive hacky approach to handling this. A large share of the remaining (e.g. trig functions) are defined through use of eval. I have a pseudo-interpreting approach in mind but it needs a bit more thinking through

Ok, thanks for the update, @ZacLN! Will stay tuned for updates.

Just ran into Main not being resolved;

main-reference

Not sure if this is the same bug (but references to Main in Julia's source seem to be having the same problem), so I'm leaving this here as a reminder to check when the other problems are resolved.

I think we've captured all of these missing names (from Base and Core)

I'm having this issue with DelimitedFiles.

Hi, I'm having the exact same issue as mentioned in https://github.com/julia-vscode/julia-vscode/issues/794#issuecomment-517009578

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidanthoff picture davidanthoff  路  28Comments

torkar picture torkar  路  36Comments

PetrKryslUCSD picture PetrKryslUCSD  路  29Comments

phlavenk picture phlavenk  路  14Comments

davidanthoff picture davidanthoff  路  31Comments