Merge pull request #3807 from haoliangyu/patch-1

Fix a wrong number in the documentation
This commit is contained in:
chriseth 2018-04-03 10:35:53 +02:00 committed by GitHub
commit 3fbdd65502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -679,7 +679,7 @@ candidate, resolution fails.
}
}
Calling ``f(50)`` would create a type error since ``250`` can be implicitly converted both to ``uint8``
Calling ``f(50)`` would create a type error since ``50`` can be implicitly converted both to ``uint8``
and ``uint256`` types. On another hand ``f(256)`` would resolve to ``f(uint256)`` overload as ``256`` cannot be implicitly
converted to ``uint8``.