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 8d35cb9 commit 53825d9Copy full SHA for 53825d9
src/ConstructionBase.jl
@@ -50,7 +50,8 @@ getproperties(o::Tuple) = o
50
51
if VERSION >= v"1.7"
52
function check_properties_are_fields(obj)
53
- # triple equals makes it easier for the compiler to optimize, see #82
+ # for ntuples of symbols `===` is semantically the same as `==`
54
+ # but triple equals is easier for the compiler to optimize, see #82
55
if propertynames(obj) !== fieldnames(typeof(obj))
56
error("""
57
The function `Base.propertynames` was overloaded for type `$(typeof(obj))`.
0 commit comments