Skip to content

Commit

Permalink
Remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
serenity4 committed Jul 29, 2024
1 parent 10f40d9 commit a7abddc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ConstructionBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ if VERSION >= v"1.7"
properties_are_fields(obj) = propertynames(obj) === fieldnames(typeof(obj))

function check_properties_are_fields(obj)
# for ntuples of symbols `===` is semantically the same as `==`
# but triple equals is easier for the compiler to optimize, see #82
if !properties_are_fields(obj)
error("""
The function `Base.propertynames` was overloaded for type `$(typeof(obj))`.
Expand Down

0 comments on commit a7abddc

Please sign in to comment.