Skip to content

Commit 7fa3452

Browse files
Merge pull request #735 from IETS3/bugfix/indexExpr_collections_20213
2 parents 2267c4f + 3b336b7 commit 7fa3452

File tree

3 files changed

+334
-37
lines changed

3 files changed

+334
-37
lines changed

CHANGELOG.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,12 @@ All notable changes to this project are documented in this file.
44

55
Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month.
7-
## October 2023
87

9-
### Fixed
10-
11-
- Generation of nested short lambda expression now use the correct type for "it" as a variable.
12-
13-
## November 2023
8+
## Dezember 2023
149

1510
### Fixed
1611

17-
- String validation: A bug in the number detection logic was fixed
12+
- Collections: The index expression now works with collection types in the generator.
1813

1914
## November 2023
2015

@@ -24,18 +19,21 @@ The project does _not_ follow Semantic Versioning and the changes are documented
2419
- Records: The sorting order can be added through the intention `Add a Comparison Order`, otherwise, the records are sorted based on the declaration order of the members
2520
- Option: Sorting removes all `none` values since the underlying data structure of collections doesn't support null values.
2621

27-
## November 2023
28-
29-
## Changed
22+
### Changed
3023

3124
- The comparison helper in org.iets3.core.expr.simpleTypes.runtime and the equals helper in the test language where merged into a new class EqualsHelper inside the first runtime solution to return the same values.
3225

26+
### Fixed
27+
28+
- String validation: A bug in the number detection logic was fixed
29+
3330
## Oktober 2023
3431

3532
## Fixed
3633

3734
- `SliceValue` can now correctly be checked for equality: `SliceValue.equals()` and `SliceValue.hashCode()` are overwritten.
3835
- `TemporalValue.hashCode()` was overwritten, thus `equals` and `hashCode()` are in sync now.
36+
- Generation of nested short lambda expression now use the correct type for "it" as a variable.
3937

4038
## September 2023
4139

code/languages/org.iets3.opensource/languages/org.iets3.core.expr.genjava.base/generator/template/[email protected]

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14902,34 +14902,8 @@
1490214902
<ref role="37wK5l" to="xlxw:~BigInteger.valueOf(long)" resolve="valueOf" />
1490314903
<ref role="1Pybhc" to="xlxw:~BigInteger" resolve="BigInteger" />
1490414904
<node concept="2OqwBi" id="3mvkonGsb6y" role="37wK5m">
14905-
<node concept="37vLTw" id="3mvkonGsamn" role="2Oq$k0">
14906-
<ref role="3cqZAo" node="3mvkonGs7Uk" resolve="l" />
14907-
<node concept="29HgVG" id="3mvkonGsfWO" role="lGtFl">
14908-
<node concept="3NFfHV" id="3mvkonGsfZ4" role="3NFExx">
14909-
<node concept="3clFbS" id="3mvkonGsfZ5" role="2VODD2">
14910-
<node concept="3clFbF" id="3mvkonGuGH8" role="3cqZAp">
14911-
<node concept="2OqwBi" id="3mvkonGuHzO" role="3clFbG">
14912-
<node concept="2OqwBi" id="3mvkonGuGS5" role="2Oq$k0">
14913-
<node concept="30H73N" id="3mvkonGuGH7" role="2Oq$k0" />
14914-
<node concept="2Xjw5R" id="3mvkonGuHfj" role="2OqNvi">
14915-
<node concept="1xMEDy" id="3mvkonGuHfl" role="1xVPHs">
14916-
<node concept="chp4Y" id="3mvkonGuHjk" role="ri$Ld">
14917-
<ref role="cht4Q" to="hm2y:7NJy08a3O99" resolve="DotExpression" />
14918-
</node>
14919-
</node>
14920-
</node>
14921-
</node>
14922-
<node concept="3TrEf2" id="3mvkonGuI6_" role="2OqNvi">
14923-
<ref role="3Tt5mk" to="hm2y:4rZeNQ6NgXF" resolve="expr" />
14924-
</node>
14925-
</node>
14926-
</node>
14927-
</node>
14928-
</node>
14929-
</node>
14930-
</node>
1493114905
<node concept="liA8E" id="3mvkonGscbd" role="2OqNvi">
14932-
<ref role="37wK5l" to="33ny:~List.indexOf(java.lang.Object)" resolve="indexOf" />
14906+
<ref role="37wK5l" to="33ny:~AbstractList.indexOf(java.lang.Object)" resolve="indexOf" />
1493314907
<node concept="37vLTw" id="3mvkonGuMat" role="37wK5m">
1493414908
<ref role="3cqZAo" node="3mvkonGuL4o" resolve="s" />
1493514909
<node concept="1ZhdrF" id="3mvkonGuMPR" role="lGtFl">
@@ -15100,6 +15074,36 @@
1510015074
</node>
1510115075
</node>
1510215076
</node>
15077+
<node concept="2YIFZM" id="3S$dVIhEbEr" role="2Oq$k0">
15078+
<ref role="37wK5l" to="j10v:~TreePVector.from(java.util.Collection)" resolve="from" />
15079+
<ref role="1Pybhc" to="j10v:~TreePVector" resolve="TreePVector" />
15080+
<node concept="37vLTw" id="3mvkonGsamn" role="37wK5m">
15081+
<ref role="3cqZAo" node="3mvkonGs7Uk" resolve="l" />
15082+
<node concept="29HgVG" id="3mvkonGsfWO" role="lGtFl">
15083+
<node concept="3NFfHV" id="3mvkonGsfZ4" role="3NFExx">
15084+
<node concept="3clFbS" id="3mvkonGsfZ5" role="2VODD2">
15085+
<node concept="3clFbF" id="3mvkonGuGH8" role="3cqZAp">
15086+
<node concept="2OqwBi" id="3mvkonGuHzO" role="3clFbG">
15087+
<node concept="2OqwBi" id="3mvkonGuGS5" role="2Oq$k0">
15088+
<node concept="30H73N" id="3mvkonGuGH7" role="2Oq$k0" />
15089+
<node concept="2Xjw5R" id="3mvkonGuHfj" role="2OqNvi">
15090+
<node concept="1xMEDy" id="3mvkonGuHfl" role="1xVPHs">
15091+
<node concept="chp4Y" id="3mvkonGuHjk" role="ri$Ld">
15092+
<ref role="cht4Q" to="hm2y:7NJy08a3O99" resolve="DotExpression" />
15093+
</node>
15094+
</node>
15095+
</node>
15096+
</node>
15097+
<node concept="3TrEf2" id="3mvkonGuI6_" role="2OqNvi">
15098+
<ref role="3Tt5mk" to="hm2y:4rZeNQ6NgXF" resolve="expr" />
15099+
</node>
15100+
</node>
15101+
</node>
15102+
</node>
15103+
</node>
15104+
</node>
15105+
</node>
15106+
</node>
1510315107
</node>
1510415108
<node concept="raruj" id="3mvkonGyL2W" role="lGtFl" />
1510515109
</node>

0 commit comments

Comments
 (0)