Skip to content

Commit

Permalink
fix(repl): Include the prelude when using :t
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Jul 26, 2016
1 parent d72d3e1 commit bb0f134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use gluon::{Compiler, new_vm};

fn type_of_expr(args: WithVM<RootStr>) -> IO<Result<String, String>> {
let WithVM { vm, value: args } = args;
let mut compiler = Compiler::new().implicit_prelude(false);
let mut compiler = Compiler::new();
IO::Value(match compiler.typecheck_str(vm, "<repl>", &args, None) {
Ok((expr, _)) => {
let env = vm.get_env();
Expand Down

0 comments on commit bb0f134

Please sign in to comment.