on master help sign in
Make sure Prelude gets imported properly.
commit15e46640ad35dcb2c91954d59454873e319c06ff authorevancz <info@elm-lang.org> dateWed 21 Nov 2012, 18:43 (14 years ago) parentb2240f9
1 file changed+1−1
elm/src/Initialize.hs+1−1
elm/src/Initialize.hs+1−1
@@ -19,5 +19,5 @@ initialize str =
1919 (escapees, subs) <- unify hints modul
2020 let modul' = optimize . rename $ Module name ex im' stmts
2121 where im' | any ((=="Prelude") . fst) im = im
22− | otherwise = ("Prelude", Importing []) : im
22+ | otherwise = ("Prelude", Hiding []) : im
2323 subs `seq` return (escapees, modul')