File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function _tpid_to_sym(tpid::Int8)
67
67
elseif tpid == - 1
68
68
return :foreign
69
69
else
70
- throw (ArgumentError (" Unrecognized threadpool id $tpid " ))
70
+ throw (ArgumentError (LazyString ( " Unrecognized threadpool id " , tpid) ))
71
71
end
72
72
end
73
73
@@ -79,7 +79,7 @@ function _sym_to_tpid(tp::Symbol)
79
79
elseif tp == :foreign
80
80
return Int8 (- 1 )
81
81
else
82
- throw (ArgumentError (" Unrecognized threadpool name `$tp ` " ))
82
+ throw (ArgumentError (LazyString ( " Unrecognized threadpool name `" , tp, " ` " ) ))
83
83
end
84
84
end
85
85
@@ -464,7 +464,7 @@ macro spawn(args...)
464
464
if ttype isa QuoteNode
465
465
ttype = ttype. value
466
466
if ttype != = :interactive && ttype != = :default
467
- throw (ArgumentError (" unsupported threadpool in @spawn: $ttype " ))
467
+ throw (ArgumentError (LazyString ( " unsupported threadpool in @spawn: " , ttype) ))
468
468
end
469
469
tp = QuoteNode (ttype)
470
470
else
You can’t perform that action at this time.
0 commit comments