fix(library/module): has_sorry: check examples
This commit is contained in:
parent
43a7dd8e4f
commit
1182d8e7f7
1 changed files with 2 additions and 0 deletions
|
|
@ -388,6 +388,8 @@ environment update_module_defs(environment const & env, declaration const & d) {
|
|||
static optional<name> should_report_sorry(name const & n) {
|
||||
if (n.is_anonymous())
|
||||
return optional<name>();
|
||||
if (n == name{"_example"})
|
||||
return optional<name>(n);
|
||||
if (!is_internal_name(n))
|
||||
return optional<name>(n);
|
||||
if (!n.is_string() || n.is_atomic())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue