android icon indicating copy to clipboard operation
android copied to clipboard

JSParser error should point to original file of the error not bundle.js

Open vhristov5555 opened this issue 5 years ago • 1 comments

  1. JSParser error should point to original file of the error not bundle.js
  2. The line of the error should be added too JSParser Error: Not enough or too many arguments passed(0) when trying to extend interface: java.util.List in file: bundle.js

Same logic has been implemented in cli for runtime errors.

vhristov5555 avatar Jun 25 '19 08:06 vhristov5555

Resolving the line number should be pretty easy. The CLI has the logic about resolving the original file name so this should be easy to handle as well. Perhaps we can use their code as a dependency in the jsparser.js.

vmutafov avatar Jun 25 '19 08:06 vmutafov