From 6f8fc0fe06efbf130913f7776e6e09eea00e4c03 Mon Sep 17 00:00:00 2001 From: Scott Morrison Date: Fri, 13 Jan 2017 20:51:03 +1100 Subject: [PATCH] fix(library/scoped_ext): typo in error message --- src/library/scoped_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/scoped_ext.cpp b/src/library/scoped_ext.cpp index 12bfc3c60b..051b4f2064 100644 --- a/src/library/scoped_ext.cpp +++ b/src/library/scoped_ext.cpp @@ -173,7 +173,7 @@ environment pop_scope(environment const & env, io_state const & ios, name const if (is_nil(ext.m_namespaces)) throw exception("invalid end of scope, there are no open namespaces/sections"); if (n != head(ext.m_headers)) - throw exception(sstream() << "invalid end of scope, begin/end mistmatch, scope starts with '" + throw exception(sstream() << "invalid end of scope, begin/end mismatch, scope starts with '" << head(ext.m_headers) << "', and ends with '" << n << "'"); return pop_scope_core(env, ios); }