Skip to content

"<null>" string appears in warning message #58552

Open
@lbilli

Description

@lbilli

In Julia 1.12.0-beta3, during precompilation, a warning message contains the string "<null>" instead of a more meaningful name.

 1 dependency had output during precompilation:
┌ UTCDateTimes
│  WARNING: Constructor for type "DateTime" was extended in `UTCDateTimes` without explicit qualification or import.
│    NOTE: Assumed "DateTime" refers to `<null>.DateTime`. 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 DateTime end`.
│    Hint: To silence the warning, qualify `DateTime` as `<null>.DateTime` in the method signature or explicitly `import <null>: DateTime`.
julia> versioninfo()
Julia Version 1.12.0-beta3
Commit faca79b503a (2025-05-12 06:47 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
  GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 4 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    error handlingHandling of exceptions by Julia or the usererror messagesBetter, more actionable error messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions