Skip to content

Commit 102dac0

Browse files
committed
---
yaml --- r: 8191 b: refs/heads/snap-stage3 c: 107f827 h: refs/heads/master i: 8189: d947f85 8187: 851e4dd 8183: 4029798 8175: 0928410 8159: 4bef5b6 8127: 25e8274 8063: 71d5518 7935: 4c28fc5 7679: 95afb6e 7167: eddabcf 6143: 6a8ba95 4095: 21df5ad v: v3
1 parent 1e7c4b4 commit 102dac0

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
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 74d4e2a32ed28bf2272b1ba3246246557ec6d987
4+
refs/heads/snap-stage3: 107f827b537a4c3b2a44993085609497a1871928
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/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)