new inference: start inference from top to bottom; ensure getTargetType doesn't perform any inference; cache intermediate results

This commit is contained in:
Anna Kozlova
2015-11-18 15:41:57 +01:00
parent be5f4165ab
commit d32e6ec080
14 changed files with 484 additions and 156 deletions

View File

@@ -6,7 +6,7 @@ public class Bug
{
final I<CRN> f = null;
Bug.<String>create(fn<error descr="'fn(Bug.I<FN>)' in 'Bug' cannot be applied to '(Bug.I<CRN>)'">(f)</error>);
Bug.<String>create<error descr="'create(Bug.I<java.lang.String>)' in 'Bug' cannot be applied to '(Bug.I<CRN>)'">(fn(f))</error>;
return create(fn(f));