Commit 5a916d9
committed
Drop @public on names already exported via ModelingToolkitBase reexport
`hasdescription`, `getdescription`, `hasmisc`, `getmisc` are exported
into Catalyst's namespace through `@reexport using ModelingToolkitBase`,
so declaring them `public` is a load error:
cannot declare Catalyst.hasdescription public; it is already declared exported
The original export-scan only parsed Catalyst's own `src/` `export` lines and
missed reexported names. Remove the four reexport-exported names from the
`@public` additions; the remaining 21 documented, non-exported names stay.
Verified `using Catalyst` loads cleanly on Julia 1.12.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent f7da30a commit 5a916d9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments