Skip to content

Commit

Permalink
Improve diagnostics.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgehr committed Mar 16, 2018
1 parent 86945cc commit 2174338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symbolic.d
Expand Up @@ -832,7 +832,7 @@ private struct Analyzer{
dist.marginalize(w);
}
}
if(!exp) return;
if(!exp){ dist=odist; return; }
if(functionDef.context&&functionDef.contextName.startsWith("this")){
auto resv=dist.getVar("__r"),ctxv=dVar(functionDef.contextName);
dist.initialize(resv,exp,re.e.type);
Expand Down

0 comments on commit 2174338

Please sign in to comment.