We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c12875 commit be0a12dCopy full SHA for be0a12d
jjava/src/main/java/org/dflib/jjava/execution/CodeEvaluator.java
@@ -148,8 +148,12 @@ protected Object evalSingle(String code) {
148
throw new RuntimeException(e);
149
}
150
151
- if (!event.status().isDefined())
+ // Undefined snippets are generally bad, unless we can still recover from them. E.g.,
152
+ // "Unresolved dependencies" errors are recoverable when those dependencies are defined in the later
153
+ // snippets.
154
+ if (event.status() != Snippet.Status.RECOVERABLE_NOT_DEFINED && !event.status().isDefined()) {
155
throw new CompilationException(event);
156
+ }
157
158
159
0 commit comments