Skip to content

Commit 9445146

Browse files
committed
---
yaml --- r: 14177 b: refs/heads/try c: 107f827 h: refs/heads/master i: 14175: e4eba97 v: v3
1 parent 43328e2 commit 9445146

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 74d4e2a32ed28bf2272b1ba3246246557ec6d987
5+
refs/heads/try: 107f827b537a4c3b2a44993085609497a1871928
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ fn lookup_method(fcx: @fn_ctxt, expr: @ast::expr, node_id: ast::node_id,
15901590
let has_self = ty::type_has_params(fty);
15911591
if method_n_tps + n_tps > 0u {
15921592
if n_tys == 0u || n_tys != method_n_tps {
1593-
if n_tys != method_n_tps {
1593+
if n_tys != 0u {
15941594
tcx.sess.span_err
15951595
(expr.span, "incorrect number of type \
15961596
parameters given for this method");

0 commit comments

Comments
 (0)