Looks like docstrings are being hit: all of a sudden, I’m seeing failures like this:
Any ideas on what caused it and how to fix?
Looks like docstrings are being hit: all of a sudden, I’m seeing failures like this:
Any ideas on what caused it and how to fix?
The error seems pretty clear
ERROR: LoadError: LoadError: syntax: invalid escape sequence
which happens at
while loading /home/travis/.julia/v0.7/LightGraphs/src/shortestpaths/astar.jl, in expression starting on line 46
which points to a string with invalid escape sequence
using the [A\* search algorithm](http://en.wikipedia.org/wiki/A%2A_search_algorithm).
It just stops silently ignoring error in the string now.
This is https://github.com/JuliaLang/julia/pull/22800
In literal strings, a backslash before an unrecognized character used to be silently ignored. e.g. "\Foo"
was equivalent to "Foo"
. Now it is an error, and it seems to be exposing a lot of typos in docstrings.
was there no period of deprecation for this?
It would be good if the error message were more informative, for example, to identify 1) which character was not a valid escape sequence, and 2) the position of the character in the line being parsed