-
Notifications
You must be signed in to change notification settings - Fork 68
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
JuliaParser dying in amend_coverage_from_source #77
Comments
Only thing I changed in those parts is that the function used to return a coverage vector, but I changed it to nothing. Does JuliaParser actually parse the file separate from Coverage? |
open(srcname) do io
while !eof(io)
pos = position(io)
linestart = minimum(searchsorted(linepos, pos))
ast = Parser.parse(io) Certainly appears to be trying to parse each line. It could be a problem with the file in |
As background, the parser is used to distinguish "real code" from useless crap (comments, lines with just Of course, this has the side effect of making |
@tkelman pointed out another failure here: JuliaLang/METADATA.jl#2960 when I tagged the new version, also parsing, but different location I think? |
Same failure I think. |
I've tried running CoverageBase on julia since it's failing on the buildbots. When I run
Coverage.process_folder("base")
, it runs happily for a while, but then I get this error:It's dying here. The fact that this only happens for
base/docs/Docs.jl
whether we ran the inlined or non-inlined tests is really weird. Anyone have any ideas?The text was updated successfully, but these errors were encountered: