Skip to content

silence 1.12 warnings#245

Merged
tqml merged 1 commit into
JuliaInterop:masterfrom
araujoms:stringdict
May 29, 2026
Merged

silence 1.12 warnings#245
tqml merged 1 commit into
JuliaInterop:masterfrom
araujoms:stringdict

Conversation

@araujoms

Copy link
Copy Markdown
Contributor

No description provided.

@GunnarFarneback

Copy link
Copy Markdown

I was prepared to fix this myself, but since there already is a PR, I don't need to.

For a little more context, the warnings are

┌ MATLAB
│  WARNING: Constructor for type "String" was extended in `MATLAB` without explicit qualification or import.
│    NOTE: Assumed "String" refers to `Base.String`. This behavior is deprecated and may differ in future versions.`
│    NOTE: This behavior may have differed in Julia versions prior to 1.12.
│    Hint: If you intended to create a new generic function of the same name, use `function String end`.
│    Hint: To silence the warning, qualify `String` as `Base.String` in the method signature or explicitly `import Base: String`.
│  WARNING: Constructor for type "Dict" was extended in `MATLAB` without explicit qualification or import.
│    NOTE: Assumed "Dict" refers to `Base.Dict`. This behavior is deprecated and may differ in future versions.`
│    NOTE: This behavior may have differed in Julia versions prior to 1.12.
│    Hint: If you intended to create a new generic function of the same name, use `function Dict end`.
│    Hint: To silence the warning, qualify `Dict` as `Base.Dict` in the method signature or explicitly `import Base: Dict`.
└  

and the fix is uncontroversial.

@tqml tqml merged commit 3074001 into JuliaInterop:master May 29, 2026
4 checks passed
@tqml

tqml commented May 29, 2026

Copy link
Copy Markdown
Collaborator

nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants