Re: [Jastadd] Feature request: inner classes

From: Görel Hedin <gorel_at_cs.lth.se>
Date: Thu, 3 Oct 2013 14:22:47 +0200

Hi Jesper M,

Thanks for the suggestion. I have added it as an issue to our issue tracker. In the future, if you have more ideas, please feel free to add new issues yourself. See http://jastadd.org/web/contact.php

best regards,
Görel
 
2 okt 2013 kl. 12:15 skrev Jesper Mattsson:

> Hi
>
> To add an inner class in an AST class, you currently have to write e.g.:
> public class AnAstClass {
> public static class InnerClass {
> // ...
> }
> }
>
> This is a bit clunky, and you can accidentally change the visibility modifier on AST classes.
> It would be much more in line with the syntax for other things if you could instead write:
> public static class AnAstClass.InnerClass {
> // ...
> }
>
> That currently gives a syntax error.
>
> Jesper
>
> Jesper MATTSSON, MSc
> Software Developer & IT Administrator
> Simulation & Optimization R&D
>
> Phone direct: +46 73 324 5909
> Email: jesper.mattsson_at_modelon.com
>
> <image001.png>
> 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
>
>
> This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Modelon does not accept or assume any liability or responsibility for any use of or reliance on this email.
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd
Received on Thu Oct 03 2013 - 14:22:47 CEST

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