Skip to content

Commit

Permalink
Workaround #155.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Jan 5, 2018
1 parent 5b703c0 commit 31f7c5d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,12 @@ private void inferInitialOrdering(EclipseProjectAnalysisEngine<InstanceKey> engi
// get the use value number for the stream creation.
int valueNumber = getUseValueNumberForCreation(engine);

if (valueNumber < 0) {
LOGGER.warning("Use value number: " + valueNumber + " for stream creation: "
+ this.getCreation().getName() + " is invalid. Most likely #155.");
throw new UnhandledCaseException("Encountered unhandled case, most likely an embedded stream.");
}

// get the enclosing method node.
CGNode node = null;
try {
Expand Down

0 comments on commit 31f7c5d

Please sign in to comment.