Commit c7b40c4
committed
Avoid extending
For some reason, the internal Flatbuf module defines a function called
`Type`. On Julia 1.12, defining a new function by defining methods is
insufficient to distinguish it from defining new constructor methods for
a visible type of the same name. It's now necessary to forward-declare
the function to ensure it takes precedence over the other visible
binding. Without doing so, `Base.Type` is extended in Flatbuf instead.Type from Base on Julia 1.121 parent 78e4f4b commit c7b40c4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
489 | 494 | | |
490 | 495 | | |
491 | 496 | | |
| |||
0 commit comments