[Jastadd] JastAdd bug report: rewrite to List

From: Jesper Mattsson <jesper.mattsson_at_modelon.com>
Date: Mon, 20 Feb 2012 09:17:20 -0800

Hi

Consider a rewrite that returns a List to be inlined in the List that the node being rewritten was in.
If it returns an empty list, then a null pointer exception is thrown from the line:
return newList.getChildNoTransform(0);
in rewriteTo().

Jesper

Jesper MATTSSON, MSc
Software Developer & IT Administrator

Phone direct: +46 73 324 5909
Email: jesper.mattsson_at_modelon.com<mailto:jesper.mattsson_at_modelon.com>

[cid:image001.png_at_01CCEFFB.E29C36E0]
________________________________
Modelon AB
Ideon Science Park
SE-223 70 Lund, Sweden

Phone: +46 46 286 2200
Fax: +46 46 286 2201


Web: http://www.modelon.com<http://www.modelon.com/>






image001.png
(image/png attachment: image001.png)

Received on Mon Feb 20 2012 - 18:18:04 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST