Can't export an imported type in a .rs file referred to by a .rc

6b962b4
Opened by Patrick Walton at 2011-01-27 02:01:24

export.rc: meta(name="export"); mod exportimpl;

exportimpl.rs: import a.t; export t; mod a { export t; type t = int; }

And when I compile: $ rustboot -shared export.rc Fatal error: exception Not_found

  1. Compiling the .rs by itself succeeds, oddly enough!

    Patrick Walton at 2010-09-13 18:47:08

  2. WONTFIX (not required for bootstrapping; all this logic is new in rustc)

    Graydon Hoare at 2011-01-27 02:01:24