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
New functions `Base.getproperty` and `Base.setproperty!`
can be overloaded to change the behavior of `x.p` and `x.p = v`,
respectively.
This forces inference constant propagation through get/setproperty,
since it is very likely this method will yield better information after specializing on the field name
(even if `convert` is too big to make us want to inline the generic version and trigger the heuristic normally).
closes#16195 (and thus also closes#16226)
fix#1974
|``` ` ` ```| delimit external process (command) specifications |
37
-
|`...`| splice arguments into a function call or declare a varargs function or type|
38
-
|`.`| access named fields in objects/modules, also prefixes elementwise operator/function calls |
39
-
|`a:b`| range a, a+1, a+2, ..., b |
40
-
|`a:s:b`| range a, a+s, a+2s, ..., b |
41
-
|`:`| index an entire dimension (1:end) |
42
-
|`::`| type annotation, depending on context|
37
+
|`...`| splice arguments into a function call or declare a varargs function |
38
+
|`.`| access named fields in objects/modules (calling [`getproperty`](@ref Base.getproperty) or [`setproperty!`](@ref Base.setproperty!)), also prefixes elementwise function calls (calling [`broadcast`](@ref))|
39
+
|`a:b`| range a, a+1, a+2, ..., b (calling [`colon`](@ref))|
40
+
|`a:s:b`| range a, a+s, a+2s, ..., b (also calling [`colon`](@ref))|
41
+
|`:`| index an entire dimension (1:endof), see [`Colon`](@ref))|
42
+
|`::`| type annotation or [`typeassert`](@ref), depending on context |
0 commit comments