make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693

This commit is contained in:
Araq 2017-12-15 12:16:03 +01:00
commit 8db5b32ff7
5 changed files with 16 additions and 3 deletions

View file

@ -132,3 +132,5 @@ This now needs to be written as:
the new ``rand`` procs. The module now exports the state of the random
number generator as type ``Rand`` so multiple threads can easily use their
own random number generators that do not require locking.
- The compiler is now more consistent in its treatment of ambiguous symbols:
Types that shadow procs and vice versa are marked as ambiguous (bug #6693).