-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
...which determines the only valid case where the read-only interface is allowed to implement the modifiable interface the problem was that delegation methods where not taken into account. they are not allowed in read-only and immutable cases because they are likely breaking the immutability contract
- Loading branch information
Showing
5 changed files
with
984 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...u/mihosoft/vmftest/complex/vmf_text/generated/miniclang/ControlFlowChildNodeDelegate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package eu.mihosoft.vmftest.complex.vmf_text.generated.miniclang; | ||
|
||
import eu.mihosoft.vcollections.VList; | ||
import eu.mihosoft.vmf.runtime.core.DelegatedBehavior; | ||
import eu.mihosoft.vmf.runtime.core.VObject; | ||
|
||
public class ControlFlowChildNodeDelegate implements DelegatedBehavior<VObject> { | ||
private VObject obj; | ||
|
||
@Override | ||
public void setCaller(VObject caller) { | ||
this.obj = obj; | ||
} | ||
|
||
public VList<ControlFlowScope> parentScopes() { | ||
return null; | ||
} | ||
} |
Oops, something went wrong.