@@ -157,7 +157,7 @@ fn resolve_crate(sess: session, amap: ast_map::map, crate: @ast::crate) ->
157
157
// don't complain if a pattern uses the same nullary enum twice
158
158
check_for_collisions ( e, * crate ) ;
159
159
160
- // FIXME: move this to the lint pass when rewriting resolve.
160
+ // FIXME: move this to the lint pass when rewriting resolve. (#1634)
161
161
for sess. opts. lint_opts. each { |pair|
162
162
let ( lint, level) = pair;
163
163
if lint == lint:: unused_imports && level != lint:: ignore {
@@ -217,7 +217,7 @@ fn iter_effective_import_paths(vi: ast::view_item,
217
217
ast:: view_path_simple ( _, _, _) { }
218
218
// FIXME: support uniform ident-list exports eventually;
219
219
// at the moment they have half a meaning as reaching into
220
- // tags.
220
+ // tags. (but also see #1893)
221
221
ast:: view_path_list ( _, _, _) { }
222
222
ast:: view_path_glob ( _, _) {
223
223
f ( vp) ;
@@ -580,8 +580,8 @@ fn visit_item_with_scope(e: @env, i: @ast::item,
580
580
for ifaces. each { |p|
581
581
visit:: visit_path( p. path, class_scope, v) ;
582
582
}
583
- // FIXME: should be fk_ctor?
584
- visit_fn_with_scope ( e , visit :: fk_item_fn ( i. ident , tps ) , ctor. node. dec,
583
+ visit_fn_with_scope ( e , visit :: fk_ctor ( i . ident , tps , ctor . node . self_id ,
584
+ local_def ( i. id ) ) , ctor. node. dec,
585
585
ctor. node. body, ctor. span, ctor. node. id,
586
586
ctor_scope, v) ;
587
587
option:: iter( m_dtor) { |dtor|
@@ -1065,8 +1065,6 @@ fn lookup_in_scope(e: env, &&sc: scopes, sp: span, name: ident, ns: namespace,
1065
1065
ret some( ast:: def_fn( local_def( ctor. node. id) ,
1066
1066
ast:: impure_fn) ) ;
1067
1067
}
1068
- // FIXME: AST allows other items to appear in a class,
1069
- // but that might not be wise
1070
1068
}
1071
1069
_ { }
1072
1070
}
@@ -1940,7 +1938,7 @@ fn check_exports(e: @env) {
1940
1938
let defid = def_id_of_def( m) ;
1941
1939
1942
1940
if defid. crate != ast:: local_crate {
1943
- // FIXME: ought to support external export-globs eventually.
1941
+ // FIXME: ought to support external export-globs eventually. #2527
1944
1942
e. sess. span_unimpl( sp, "glob-export of items in external crate" ) ;
1945
1943
} else {
1946
1944
0 commit comments