We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86ca0b commit dccd603Copy full SHA for dccd603
src/Setfield.jl
@@ -2,7 +2,7 @@ __precompile__(true)
2
module Setfield
3
using MacroTools
4
using MacroTools: isstructdef, splitstructdef, postwalk
5
-using Requires: @require
+using StaticArraysCore
6
7
if VERSION < v"1.1-"
8
using Future: copy!
@@ -27,11 +27,4 @@ for n in names(Setfield, all=true)
27
end
28
29
30
-function __init__()
31
- @require StaticArrays="90137ffa-7385-5640-81b9-e52037218182" begin
32
- setindex(a::StaticArrays.StaticArray, args...) =
33
- Base.setindex(a, args...)
34
- end
35
-end
36
-
37
0 commit comments