JuliaApproximation / JuliaApproximation/ApproxFun.jl

Circle() displays three o'clock symbol in REPL

Open
#757 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
559
Forks
71
PR merge metrics
No merged PRs in 30d

Description

For some reason, calling Circle() in REPL displays the three o'clock symbol:

julia> VERSION
v"1.7.2-pre.0"

(@v1.7) pkg> st ApproxFun
      Status `~/.julia/environments/v1.7/Project.toml`
  [28f2ccd6] ApproxFun v0.13.0

julia> using ApproxFun

julia> Circle()
🕒

Instead of the three o'clock symbol, I think the type information of the constructed Circle instance should be displayed.

@less Circle() reveals that the constructor is defined in the ApproxFunFourier package. Restarting Julia and calling Circle() directly from ApproxFunFourier shows the type information of the constructed instance correctly:

julia> using ApproxFunFourier

julia> Circle()
Circle{Float64, Float64, ComplexF64}(0.0, 1.0, true)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the REPL display path selected after using ApproxFun, beginning with @less Circle() and comparing it with direct use of ApproxFunFourier. Reproduce the supplied Julia 1.7.2-pre example and determine why the constructed Circle is rendered as 🕒. Done means the REPL reports the Circle instance's type information consistently in both contexts.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.