Giter VIP home page Giter VIP logo

Comments (6)

vlad-circadia avatar vlad-circadia commented on May 11, 2024

Similar error: KristofferC/OhMyREPL.jl#335

from julia.

vlad-circadia avatar vlad-circadia commented on May 11, 2024

A Linux installation has no issue:

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 1 × Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, cascadelake)
  Threads: 1 on 1 virtual cores
julia> bar = Dict(:a=>1)
Dict{Symbol, Int64} with 1 entry:
  :a => 1

julia> bar[:a]
1

from julia.

mbauman avatar mbauman commented on May 11, 2024

I cannot reproduce. Do you have anything in your startup or are you using a custom system image?

from julia.

vlad-circadia avatar vlad-circadia commented on May 11, 2024

Good point: the issue indeed is not present when julia is started without startup file:

➜  ~ julia --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0 (2023-12-25)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> bar = Dict(:a=>1)
Dict{Symbol, Int64} with 1 entry:
  :a => 1

julia> bar[:a]
1

In the startup file I've got:

➜  ~ cat .julia/config/startup.jl
using OhMyREPL
using Revise

OhMyREPL seems to be the culprit.

from julia.

KristofferC avatar KristofferC commented on May 11, 2024

I'm quite surprised how OhMyREPL.jl can break dictionaries in general like that...

from julia.

vlad-circadia avatar vlad-circadia commented on May 11, 2024

I'm quite surprised how OhMyREPL.jl can break dictionaries in general like that...

Yeah, me too. I'd be curious to find out what's causing it though. May be it is something else that goes wrong with my setup...

from julia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.