[Jastadd] JastAdd feature request

From: Jesper Mattsson <jesper.mattsson_at_modelon.com>
Date: Thu, 9 Feb 2012 02:16:57 -0800

Hi

Given an AST declaration:

A ::= B*;
B;
C : B;

A gets among other things a method:

public void setBList(List<B>)

It would be useful if it instead was:

public void setBList(List<? extends B>)

That would allow passing a List<C> to it without a cast.

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_01CCE71C.55F93E00]
________________________________
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 Thu Feb 09 2012 - 11:17:49 CET

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