Fix erroneous full resolve cache filling

Before this commit, we could store partial resolve results in full
resolve cache (for some declarations, e.g. primary constructors).
This may be done iff current partial resolve mode provides all results
from full resolve mode (CFA results & diagnostics).
Otherwise we should not do it.

This fixes four quick-fix tests on CreateTypeParameter
So #KT-23860 Fixed
So #KT-22758 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-06-19 16:37:47 +03:00
parent 40668e3f96
commit 152327d69d
7 changed files with 44 additions and 8 deletions
@@ -0,0 +1,3 @@
// "Create class 'X'" "true"
class Foo(x: <caret>X)