Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Base.unsafe_convert(::Type{P}, x::id) where {P<:id} = convert(P, x)
# can then constrain on `Object{<:FooKind}` to match Foo and every wrapped
# subclass via native Julia subtyping — no parallel trait dispatch needed.
abstract type ObjectKind end
abstract type Object{K} end
abstract type Object{K<:ObjectKind} end

# Extract a wrapper's Kind from its `Object{K}` parameter. The fallbacks cover
# the unparameterized `Object` umbrella (returns the root Kind, so subclass
Expand Down
1 change: 0 additions & 1 deletion src/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export @objc, @objcwrapper, @objcproperties, @objcblock

# `objc_parent` walks the wrapper hierarchy for `@objcproperties`'s property
# chain (which inherits ancestors' getters/setters).
objc_parent(::Type{Object}) = nothing
objc_parent(::Type{<:Object}) = nothing


Expand Down
Loading