Skip to content

Commit 9a34fa2

Browse files
authored
Add comment about type alias used by printing
1 parent 5a9c162 commit 9a34fa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/abstractsparsearray.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ using LinearAlgebra: LinearAlgebra
2424
# which is where matrix multiplication and factorizations
2525
# should go.
2626
@derive AnyAbstractSparseArray AbstractArrayOps
27+
28+
# This type alias is a temporary workaround since `@derive`
29+
# doesn't parse the `@MIME_str` macro properly at the moment.
2730
const MIMEtextplain = MIME"text/plain"
2831
@derive (T=AnyAbstractSparseArray,) begin
2932
Base.show(::IO, ::MIMEtextplain, ::T)

0 commit comments

Comments
 (0)