Page MenuHomePhabricator

`arc liberate` no longer shows which file has a syntax error when it encounters one
Closed, ResolvedPublic

Description

$ arc liberate src/
Finding source files...
giFound 2,696 files.
Loading symbol cache...
Found 2,680 files in cache.
Analyzing 16 files with 8 subprocesses...
[2014-07-10 15:49:13] EXCEPTION: (XHPASTSyntaxErrorException) XHPAST Parse Error: syntax error, unexpected ';' on line 73
 at [<phutil>/src/moduleutils/PhutilLibraryMapBuilder.php:115]
  #0 PhutilLibraryMapBuilder::buildMap() called at [<phutil>/src/moduleutils/PhutilLibraryMapBuilder.php:140]
  #1 PhutilLibraryMapBuilder::buildAndWriteMap() called at [<phutil>/scripts/phutil_rebuild_map.php:73]

(I'll take a look at this in a minute, just jotting it down so I don't forget about it. Probably just going to add a "file" parameter to SyntaxErrorException.)

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: libphutil.
epriestley added subscribers: epriestley, joshuaspence.