Skip to content

Commit 1f33b22

Browse files
authored
Merge pull request #40 from usethesource/fix/useViaType3
Added a missing instantiate needed to handle tvars
2 parents f4214e5 + ae1ce20 commit 1f33b22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/analysis/typepal/Solver.rsc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ Solver newSolver(map[str,Tree] namedTrees, TModel tm){
674674
if(!solver_isFullyInstantiated(containerType)){
675675
throw TypeUnavailable();
676676
}
677+
containerType = instantiate(containerType);
677678
selectorLoc = getLogicalLoc(selector);
678679
selectorOrgName = "<selector>";
679680
selectorName = normalizeName(selectorOrgName);

0 commit comments

Comments
 (0)