Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base.MainInclude regressions in v1.11, eval and include #54532

Closed
nsajko opened this issue May 21, 2024 · 1 comment
Closed

Base.MainInclude regressions in v1.11, eval and include #54532

nsajko opened this issue May 21, 2024 · 1 comment
Labels
kind:duplicate Indicates similar issues or pull requests regression 1.11

Comments

@nsajko
Copy link
Contributor

nsajko commented May 21, 2024

Don't known how much of these changes are intentional, but at least some of them are regressions. For example, v1.10 documents Base.MainInclude.include, but in v1.11 and nightly there's no include defined in Base.MainInclude.

Furthermore, Main.eval != Base.MainInclude.eval is weird.

Behavior on v1.10 and earlier:

julia> @which Main.eval
Base.MainInclude

julia> @which Base.MainInclude.eval
Base.MainInclude

julia> @which Main.include
Base.MainInclude

julia> @which Base.MainInclude.include
Base.MainInclude

julia> versioninfo()
Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × AMD Ryzen 3 5300U with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

Behavior on v1.11 and nightly:

julia> @which Main.eval
Main

julia> @which Base.MainInclude.eval
Core

julia> @which Main.include
Main

julia> isdefined(Base.MainInclude, :include)
false

julia> versioninfo()
Julia Version 1.11.0-beta1
Commit 08e1fc0abb9 (2024-04-10 08:40 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × AMD Ryzen 3 5300U with Radeon Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
@fredrikekre
Copy link
Member

Duplicate of #54057.

@nsajko nsajko added the kind:duplicate Indicates similar issues or pull requests label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:duplicate Indicates similar issues or pull requests regression 1.11
Projects
None yet
Development

No branches or pull requests

2 participants