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

Update supported data types in TOML.print docstring #41226

Merged
merged 1 commit into from
May 17, 2022

Conversation

jondeuce
Copy link
Contributor

AbstractVector and AbstractString are missing according to this line:

const TOMLValue = Union{AbstractVector, AbstractDict, Dates.DateTime, Dates.Time, Dates.Date, Bool, Integer, AbstractFloat, AbstractString}

@DilumAluthge
Copy link
Member

You'll also need to make the same patch to https://github.com/JuliaLang/TOML.jl

@jondeuce
Copy link
Contributor Author

Sure, will do 👍

jondeuce added a commit to jondeuce/TOML.jl that referenced this pull request Jun 14, 2021
(xref pull request [#41226](JuliaLang/julia#41226) from the `julia` repo)

`AbstractVector` and `AbstractString` are missing according to [this line](https://github.com/JuliaLang/julia/blob/bc3ce48636b700d153d2c84614aaea8cb8843d43/stdlib/TOML/src/print.jl#L54):

```julia
const TOMLValue = Union{AbstractVector, AbstractDict, Dates.DateTime, Dates.Time, Dates.Date, Bool, Integer, AbstractFloat, AbstractString}
```
@KristofferC KristofferC closed this Jul 2, 2021
@KristofferC KristofferC reopened this Jul 2, 2021
@KristofferC
Copy link
Sponsor Member

Needs rebase on master to fix CI I think.

@jondeuce
Copy link
Contributor Author

jondeuce commented Jul 2, 2021

Okay made a mistake rebasing at first, but I think it's good now

@KristofferC KristofferC merged commit bd85247 into JuliaLang:master May 17, 2022
KristofferC pushed a commit to JuliaLang/TOML.jl that referenced this pull request Oct 6, 2022
(xref pull request [#41226](JuliaLang/julia#41226) from the `julia` repo)

`AbstractVector` and `AbstractString` are missing according to [this line](https://github.com/JuliaLang/julia/blob/bc3ce48636b700d153d2c84614aaea8cb8843d43/stdlib/TOML/src/print.jl#L54):

```julia
const TOMLValue = Union{AbstractVector, AbstractDict, Dates.DateTime, Dates.Time, Dates.Date, Bool, Integer, AbstractFloat, AbstractString}
```
@jondeuce jondeuce deleted the patch-1 branch March 15, 2023 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants