You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help prevent duplicate issues before submitting a new one:
[x ] I've searched other open/closed issues for duplicates before opening up this new issue.
Report
Swift requires that struct initializers be made public when used outside the module they are declared in. This is required even if the struct itself has been made public.
What did you do?
Tried to initialize the Document struct in a different module than the Down module.
letdocument=Document(cmarkNode: tree)
What did you expect to happen?
Expected the code to compile.
What happened instead?
Swift reported a compile error of:
'Document' initializer is inaccessible due to 'internal' protection level
The text was updated successfully, but these errors were encountered:
Please help prevent duplicate issues before submitting a new one:
Report
Swift requires that struct initializers be made public when used outside the module they are declared in. This is required even if the struct itself has been made public.
What did you do?
Tried to initialize the Document struct in a different module than the Down module.
What did you expect to happen?
Expected the code to compile.
What happened instead?
Swift reported a compile error of:
The text was updated successfully, but these errors were encountered: