fix(library/scoped_ext): typo in error message
This commit is contained in:
parent
69fd35f068
commit
6f8fc0fe06
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue