Commit 05224c3 1 parent c10254a commit 05224c3 Copy full SHA for 05224c3
File tree 1 file changed +1
-2
lines changed
runtime/src/main/java/org/modelingvalue/dclare/mps
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 37
37
import org .jetbrains .mps .openapi .model .SNodeReference ;
38
38
import org .jetbrains .mps .openapi .model .SReference ;
39
39
import org .modelingvalue .collections .Collection ;
40
- import org .modelingvalue .collections .Entry ;
41
40
import org .modelingvalue .collections .List ;
42
41
import org .modelingvalue .collections .Map ;
43
42
import org .modelingvalue .collections .Set ;
@@ -638,7 +637,7 @@ public Object dIdentity() {
638
637
if (references .isEmpty () && containments .isEmpty ()) {
639
638
return concept ;
640
639
} else {
641
- Map <Object , Object > map = Map .of (Entry . of ( concept , concept ) );
640
+ Map <SAbstractLink , Object > map = Map .of ();
642
641
for (SReferenceLink rl : references ) {
643
642
DNode referenced = REFERENCE .get (rl ).get (this );
644
643
map = map .put (rl , referenced != null ? referenced .dIdentity () : null );
You can’t perform that action at this time.
0 commit comments