Revision 3085094441552afdd21354a0c371e47c763bc23f authored by Chris Lattner on 12 January 2016, 03:37:12 UTC, committed by Chris Lattner on 12 January 2016, 03:37:12 UTC
On something like this:
  let x = .Tomato(cloud: .None)

we previously emitted a "type of expression is ambiguous without more context" error
while pointing to .None.  With a previous fix, we now produce the same error pointing
to the .Tomato.  With this fix, we now produce:

error: reference to member 'Tomato' cannot be resolved without a contextual type

to really drive the problem home.
1 parent 26b51bf
History
File Mode Size
apinotes
benchmark
bindings
cmake
docs
include
lib
stdlib
test
tools
unittests
utils
validation-test
.clang-format -rw-r--r-- 19 bytes
.dir-locals.el -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
CHANGELOG.md -rw-r--r-- 169.5 KB
CMakeLists.txt -rw-r--r-- 24.4 KB
CODE_OWNERS.TXT -rw-r--r-- 1.2 KB
CONTRIBUTING.md -rw-r--r-- 468 bytes
LICENSE.txt -rw-r--r-- 11.5 KB
README.md -rw-r--r-- 6.5 KB

README.md

back to top