Opened 10 years ago

Closed 10 years ago

#14501 closed defect (patchwelcome)

Shrinksafe parse errors should report line number

Reported by: jimrandomh Owned by: Richard Backhouse
Priority: low Milestone: tbd
Component: ShrinkSafe Version: 1.7.1
Keywords: needsreview Cc:
Blocked By: Blocking:


I'm using Shrinksafe in my build system for browser plugins, and sometimes I'll try to shrink a file that has a syntax error, such as mismatching parentheses. Shrinksafe then outputs a big stack trace passing through org.mozilla.javascript.Parser, but it doesn't provide a line number. It would be much more convenient if it provided a line number, so I didn't have to load an unshrunk version in a browser to figure out where the error was.

Change History (3)

comment:1 Changed 10 years ago by Adam Peller

Component: GeneralShrinkSafe
Owner: set to Richard Backhouse

comment:2 Changed 10 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

comment:3 Changed 10 years ago by bill

Resolution: patchwelcome
Status: newclosed

I think closure will be the compressor of choice going forwards, and we don't have anyone working on shrinksafe, so closing this ticket.

Note: See TracTickets for help on using tickets.