Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Mar 3, 2023
1 parent c0cefae commit 0b9f1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/accessors/bits/semantics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ $(TYPEDSIGNATURES)
Like [`get_semantics`](@ref) but throws a `DomainError` if the semantics is not
available.
"""
function semantics(semantics::Symbol)::Types.Maybe{Semantic}
function semantics(semantics::Symbol)::Semantic
res = get_semantics(semantics)
isnothing(res) && throw(DomainError(semantics, "unknown semantics"))
res
Expand Down

0 comments on commit 0b9f1fc

Please sign in to comment.