You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 0.7-DEV, readstring(filename) is deprecated in favor of read(filename, String). However, the latter is not type stable. readstring(filename) was type stable in 0.6.
julia> versioninfo()
Julia Version 0.7.0-DEV.4537
Commit 61bf9359e9 (2018-03-11 19:30 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Environment:
julia> readstring("/dev/null")
┌ Warning: `readstring(filename::AbstractString)` is deprecated, use `read(filename, String)` instead.
│ caller = top-level scope
└ @ Core :0
""
help?> read
...
read(filename::AbstractString, String)
Read the entire contents of a file as a string.
...
julia> Core.Compiler.return_type(read, (String, Type{String}))
Any
The text was updated successfully, but these errors were encountered:
In 0.7-DEV,
readstring(filename)
is deprecated in favor ofread(filename, String)
. However, the latter is not type stable.readstring(filename)
was type stable in 0.6.The text was updated successfully, but these errors were encountered: