Skip to content

Commit

Permalink
Merge pull request ethereum#3807 from haoliangyu/patch-1
Browse files Browse the repository at this point in the history
Fix a wrong number in the documentation
  • Loading branch information
chriseth authored Apr 3, 2018
2 parents be261ed + 826de65 commit 3fbdd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contracts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.

Expand Down

0 comments on commit 3fbdd65

Please sign in to comment.