Skip to content

Commit e253e8f

Browse files
committed
---
yaml --- r: 8026 b: refs/heads/snap-stage3 c: 61367e3 h: refs/heads/master v: v3
1 parent 3f20f2c commit e253e8f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
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: a57c15bf88cfa8a684947af5d28c8154ef2f6456
4+
refs/heads/snap-stage3: 61367e3c270c406eee3dc757e8429732ce413cb5
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/comp/middle/trans/base.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3742,9 +3742,10 @@ fn trans_log(lvl: @ast::expr, cx: @block_ctxt, e: @ast::expr) -> @block_ctxt {
37423742
ret trans_expr(cx, lvl, ignore);
37433743
}
37443744

3745-
let modpath = vec::filter(cx.fcx.path, {|e|
3746-
alt e { path_mod(_) { true } _ { false } }
3747-
});
3745+
let modpath = [path_mod(ccx.link_meta.name)] +
3746+
vec::filter(cx.fcx.path, {|e|
3747+
alt e { path_mod(_) { true } _ { false } }
3748+
});
37483749
let modname = path_str(modpath);
37493750

37503751
let global = if ccx.module_data.contains_key(modname) {

0 commit comments

Comments
 (0)