Skip to content

Commit

Permalink
attempt to LCOV_EXCL_LINE to cope with spurious flow throws
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jun 28, 2017
1 parent 73e40d9 commit 02dcc6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/jssm.js
Expand Up @@ -114,7 +114,7 @@ class machine<mNT, mDT> {
actionMap.set(tr.from, thisEdgeId);
}
} else {
throw new Error('should be impossible, satisfying type checker that doesn\'t know .set precedes .get. severe error?');
throw new Error('should be impossible, satisfying type checker that doesn\'t know .set precedes .get. severe error?'); // LCOV_EXCL_LINE
}

// reverse mapping first by state origin name
Expand All @@ -129,7 +129,7 @@ class machine<mNT, mDT> {
rActionMap.set(tr.action, thisEdgeId);
}
} else {
throw new Error('should be impossible, satisfying type checker that doesn\'t know .set precedes .get again. severe error?')
throw new Error('should be impossible, satisfying type checker that doesn\'t know .set precedes .get again. severe error?'); // LCOV_EXCL_LINE
}

// reverse mapping first by state target name
Expand Down

0 comments on commit 02dcc6c

Please sign in to comment.