Files
node/test/parallel
Tristian Flanagan dfee4e3712 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>
2015-11-20 16:26:24 -05:00
..
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-08-20 20:16:47 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-06-05 22:58:14 -04:00
2015-06-05 22:58:14 -04:00
2015-05-19 21:21:27 +02:00
2015-10-28 07:32:07 +05:30
2015-10-09 14:45:47 -07:00
2015-05-19 21:21:27 +02:00
2015-08-23 17:59:43 -04:00
2015-08-04 11:56:11 -07:00
2015-06-15 16:37:37 +02:00