Commit 9ed41c6
committed
Fix caching of TermRef
This commit fixes a bug found in implementing ScalaTest macros, where `findMember("===")` returns 3
difference single denotations, but `alternatives.map(_.termRef)` returns 3
types of which the last 2 are the same. This causes an assertion failure in overloading resolution.
Unfortunately we are unable to create a minimized test.1 parent 3283701 commit 9ed41c6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
| 763 | + | |
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| |||
0 commit comments