From 826de65e2d9db8f05879a6f4557a9c50936610d1 Mon Sep 17 00:00:00 2001 From: Haoliang Yu Date: Mon, 2 Apr 2018 22:22:38 -0400 Subject: [PATCH] fix a wrong number --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 121c4de0e..8cc4f6b2b 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -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``.