Skip to content
This repository was archived by the owner on May 5, 2019. It is now read-only.

Commit 1636a0c

Browse files
committed
NullableArrays.unsafe_get -> compat(unsafe_get)
1 parent ed8a515 commit 1636a0c

File tree

1 file changed

+2
-2
lines changed
  • src/abstractdatatable

1 file changed

+2
-2
lines changed

src/abstractdatatable/io.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function printtable(io::IO,
4545
if !isnull(dt[j][i])
4646
if ! (etypes[j] <: Real)
4747
print(io, quotemark)
48-
x = isa(dt[i, j], Nullable) ? NullableArrays.unsafe_get(dt[i, j]) : dt[i, j]
48+
x = isa(dt[i, j], Nullable) ? @compat(unsafe_get(dt[i, j])) : dt[i, j]
4949
escapedprint(io, x, quotestr)
5050
print(io, quotemark)
5151
else
@@ -168,7 +168,7 @@ function Base.show(io::IO, ::MIME"text/latex", dt::AbstractDataTable)
168168
write(io, " & ")
169169
cell = dt[row,col]
170170
if !isnull(cell)
171-
content = isa(cell, Nullable) ? NullableArrays.unsafe_get(cell) : cell
171+
content = isa(cell, Nullable) ? @compat(unsafe_get(cell)) : cell
172172
if mimewritable(MIME("text/latex"), content)
173173
show(io, MIME("text/latex"), content)
174174
else

0 commit comments

Comments
 (0)