refuse a pub realization of a spec importers cannot see

It failed in whichever importer named the module before the spec's,
pointing at the module, where a hidden type is refused in the module
already: so is this, the remedy the same.
This commit is contained in:
2026-10-19 14:18:56 +03:00
parent 9af5360131
commit 2bc07a5a5f
5 changed files with 60 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
(pub spec (shown T)
(fn show ((self (* const T))) int))