Comments (6)
Similar error: KristofferC/OhMyREPL.jl#335
from julia.
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.
I cannot reproduce. Do you have anything in your startup or are you using a custom system image?
from julia.
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.
I'm quite surprised how OhMyREPL.jl can break dictionaries in general like that...
from julia.
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)
- `Iterators.cycle`, `IteratorSize`: infinite but empty iterator HOT 1
- more source-build problems, with openblas now on CI HOT 9
- REPL does not have StyledStrings in its dependencies HOT 8
- Add error hint for `append(::Vector{String}, ::String)`
- make error message for Union{} arguments more accurate
- constructing tuples: some reasonable `Union` tuple type constructors throw
- constructing a tuple from an iterator may fail when it's not supposed to HOT 1
- return type infers worse than allowed by type assertion
- Add gerneric function for lazy `PermutedDimsArray` or `permutedims` keyword HOT 6
- `resize!(x,...)` not working after `y = x * A[1:1, :]` HOT 3
- [FR] provide a public API for accessing/mapping over `Union` components HOT 7
- Pkg precompile error with current `master` HOT 9
- CI test output `results.json` contains a lot of duplicate entries HOT 4
- CONTRIBUTING.md is unclear about standard library HOT 9
- Possible speedup in `searchsortedfirst` HOT 2
- BoundsError in gc/objarray.jl test HOT 2
- view fails when new axis is prepended and last axis is selected
- Scheduled build `*-NoGPL` all failed
- rank(::QRPivoted) method? HOT 3
- Surprising behavior for default/interactive thread pools HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.