eclipse-epsilon / epsilon

Epsilon is a family of Java-based scripting languages for automating common model-based software engineering tasks, such as code generation, model-to-model transformation and model validation, that work out of the box with EMF (including Xtext and Sirius), UML (including Cameo/MagicDraw), Simulink, XML and other types of models.
https://eclipse.org/epsilon
Eclipse Public License 2.0
67 stars 10 forks source link

println(): cannot tell apart empty sequence from sequence with an empty string #119

Closed agarciadom closed 2 months ago

agarciadom commented 2 months ago

If we run this EOL program:

Sequence {}.println('Empty sequence: ');
Sequence {""}.println('Sequence with empty string: ');

We will get this misleading output:

Empty sequence: Sequence {}
Sequence with empty string: Sequence {}

We should instead get something like:

Empty sequence: Sequence {}
Sequence with empty string: Sequence {""}