Refactor TypecheckingService to do all error reporting. Fix isRelevant logic.

Use the same logic for TypecheckingProvider.isRelevant() as in AspectLookup
with additional test for directly imported languages.
This commit is contained in:
Fedor Isakov 2020-07-03 16:32:17 +02:00
parent 9a6298778a
commit 598b7e596b
3 changed files with 1398 additions and 1356 deletions

View File

@ -876,6 +876,37 @@
</node>
</node>
<node concept="3J1_TO" id="1Ry9kf2vh7F" role="3cqZAp">
<node concept="3uVAMA" id="6gnqipLr6Rh" role="1zxBo5">
<node concept="XOnhg" id="6gnqipLr6Ri" role="1zc67B">
<property role="TrG5h" value="efe" />
<node concept="nSUau" id="6gnqipLr6Rj" role="1tU5fm">
<node concept="3uibUv" id="6gnqipLr8aB" role="nSUat">
<ref role="3uigEE" to="w7la:~EvaluationFailureException" resolve="EvaluationFailureException" />
</node>
</node>
</node>
<node concept="3clFbS" id="6gnqipLr6Rk" role="1zc67A">
<node concept="RRSsy" id="6gnqipLr8i9" role="3cqZAp">
<property role="RRSoG" value="h1akgim/info" />
<node concept="Xl_RD" id="6gnqipLr8ia" role="RRSoy">
<property role="Xl_RC" value="program evaluation failure" />
</node>
<node concept="37vLTw" id="6gnqipLrcEX" role="RRSow">
<ref role="3cqZAo" node="6gnqipLr6Ri" resolve="efe" />
</node>
</node>
<node concept="3cpWs6" id="6gnqipLr9_Q" role="3cqZAp">
<node concept="2YIFZM" id="6gnqipLrbEb" role="3cqZAk">
<ref role="37wK5l" to="psoy:5X1yxJHYTYX" resolve="RECOVER" />
<ref role="1Pybhc" to="psoy:7Oc59RSEjdb" resolve="Result" />
<node concept="37vLTw" id="6gnqipLrcIE" role="37wK5m">
<ref role="3cqZAo" node="6gnqipLr6Ri" resolve="efe" />
</node>
</node>
</node>
<node concept="3clFbH" id="6gnqipLr9yT" role="3cqZAp" />
</node>
</node>
<node concept="3clFbS" id="1Ry9kf2vh7H" role="1zxBo7">
<node concept="3SKdUt" id="7WKNeR9xESt" role="3cqZAp">
<node concept="1PaTwC" id="589APehYxNy" role="1aUNEU">