Skip to content

Commit

Permalink
Work around a javac or TruffleDSL bug
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Apr 28, 2019
1 parent 31b065a commit aa47383
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/som/interpreter/nodes/MessageSendNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ protected AbstractMessageSendNode() {
this.argumentNodes = null;
}

/**
* HACK, TODO: remove if possible. This is a work around for a javac or TruffleDSL bug,
* which causes the generic parameter of {@link Invocation} to end up as ? in the generated
* file.
*/
@Override
public abstract SSymbol getInvocationIdentifier();

@Override
public boolean hasTag(final Class<? extends Tag> tag) {
if (tag == CallTag.class) {
Expand Down

0 comments on commit aa47383

Please sign in to comment.