From 3a8638e89e90dd2cfd311e3b98541ca3d6ac2b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Thu, 12 May 2016 12:17:27 +0200 Subject: core_pp: Crash on unhandled Core Erlang forms Don't try to be nice. Since we now have good test suites for Core Erlang, just let it crash. --- lib/compiler/src/core_pp.erl | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/compiler') diff --git a/lib/compiler/src/core_pp.erl b/lib/compiler/src/core_pp.erl index 623722df94..22171a70c7 100644 --- a/lib/compiler/src/core_pp.erl +++ b/lib/compiler/src/core_pp.erl @@ -350,11 +350,6 @@ format_1(#c_module{name=N,exports=Es,attrs=As,defs=Ds}, Ctxt) -> format_funcs(Ds, Ctxt), nl_indent(Ctxt) | "end" - ]; -format_1(Type, _) -> - ["** Unsupported type: ", - io_lib:write(Type) - | " **" ]. format_funcs(Fs, Ctxt) -> -- cgit v1.2.3