Files
node/lib
Tristian Flanagan 8a9869eeab module: fix column offsets in errors
Because Node modules are wrapped, errors on the first line
of a file leak the wrapper to the user and report the wrong
column number. This commit adds a line break to the module
wrapper so that the first line is treated the same as all
other lines. To compensate for the additional line, a line
offset of -1 is also applied to errors.

Fixes: https://github.com/nodejs/node/issues/2860
PR-URL: https://github.com/nodejs/node/pull/2867
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2016-01-19 11:52:10 -08:00
..
2015-10-29 08:38:40 -07:00
2015-12-03 22:54:16 +11:00
2015-05-09 12:10:02 +09:00
2015-12-23 08:38:33 -08:00
2015-10-29 08:38:42 -07:00
2015-07-27 11:48:36 -07:00
2016-01-19 11:52:10 -08:00
2015-06-11 20:24:44 +02:00
2015-01-31 23:47:29 -05:00