Skip to content

Commit c3834b1

Browse files
committed
---
yaml --- r: 2797 b: refs/heads/master c: 250643c h: refs/heads/master i: 2795: e669c9b v: v3
1 parent ad77dd9 commit c3834b1

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 97e0575e2ea72a6fdf7a89408611d950bb9c2833
2+
refs/heads/master: 250643c54926234a5ce5908d3c492d7edae2b5a2

trunk/src/comp/front/ast.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import util::common::span;
66
import util::common::spanned;
77
import util::common::ty_mach;
88
import util::common::filename;
9-
import middle::tstate::ann::ts_ann;
109

1110
type ident = str;
1211

@@ -95,7 +94,7 @@ type meta_item_ = rec(ident name, str value);
9594
type block = spanned[block_];
9695
type block_ = rec(vec[@stmt] stmts,
9796
option::t[@expr] expr,
98-
ann a); /* ann is only meaningful for the ts_ann field */
97+
ann a);
9998

10099
type pat = spanned[pat_];
101100
tag pat_ {
@@ -201,8 +200,6 @@ tag mode {
201200
202201
type stmt = spanned[stmt_];
203202
tag stmt_ {
204-
/* Only the ts_ann field is meaningful for statements,
205-
but we make it an ann to make traversals simpler */
206203
stmt_decl(@decl, ann);
207204
stmt_expr(@expr, ann);
208205
// These only exist in crate-level blocks.

trunk/src/comp/middle/ty.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import util::common::ty_f64;
3333

3434
import util::common::new_def_hash;
3535
import util::common::span;
36-
import middle::tstate::ann::ts_ann;
3736

3837
import util::data::interner;
3938

trunk/src/comp/util/common.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import front::ast;
99
import front::ast::ty;
1010
import front::ast::pat;
1111
import middle::walk;
12-
import middle::tstate::ann::ts_ann;
1312

1413
import std::io::stdout;
1514
import std::io::str_writer;

0 commit comments

Comments
 (0)