Error Message: value -> inline

Remi Forax forax at univ-mlv.fr
Sun Jul 7 09:38:20 UTC 2019


----- Mail original -----
> De: "Peter" <graphhopper at gmx.de>
> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Dimanche 7 Juillet 2019 01:40:51
> Objet: Error Message: value -> inline

> Hi,

Hi

> 
> I'm currently playing with the prototype of Project Valhalla - thanks
> for your huge work!
> 
> I've studied the tests but is more documentation or better examples what
> is currently possible? E.g. I think that primitive lists like List<int>
> is not yet possible - is this right?

yes,
no specialized generics yet !

you have more examples here:
  https://github.com/forax/valuetype-lworld

> 
> Now I caught an error message that needs a small change. With:
> 
> inline class Point { double lat; double lon; }
> inline class Point3d { double ele; inline Point point; }
> 
> I get:
> 
> Point3d.java:[5,25] modifier value not allowed here
> 
> instead of:
> 
> Point3d.java:[5,25] modifier inline not allowed here
> 
> Regards
> Peter

cheers,
Rémi


More information about the valhalla-dev mailing list