You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd rather wait for PPI to have a facility for this. Adding #line means removing it later, and I'm just a bit concerned about other artifacts that may occur due to this change.
ppi_document_for_file
creates a PPI document is such a way:Since PPI document is created from string, it does not know its filename. It makes creating error messages hardly possible.
I have requested PP to accept
filename
argument, soDist::Zilla
can pass filename to the constructor:Meanwhile,
Dist::Zilla
can pass filename through file content by using#line
directive:Later, if
PPI
implementsfilename
argument,Dist::Zilla
can utilize it, keeping#line
directive as a backup:The text was updated successfully, but these errors were encountered: