Skip to content

Commit

Permalink
Code can't be reached anymore now workaround for - has been removed
Browse files Browse the repository at this point in the history
    * ridlbe/ccmx11/facets/dds/visitorbase.rb:
  • Loading branch information
jwillemsen committed Feb 15, 2024
1 parent 13322a4 commit 0b3b189
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ridlbe/ccmx11/facets/dds/visitorbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ def strip_global_scope(typename)

def has_toplevel_annotation?
unless node.annotations[:'TopLevel'].first.nil?
raise "@TopLevel annotation has been deprecated in AXIOMA, use @nested!"
raise "@TopLevel annotation has been deprecated in AXIOMA, use @nested(FALSE)!"
end
unless node.annotations[:'top-level'].first.nil?
raise "@top-level annotation has been deprecated in AXIOMA, use @nested!"
end

annot = node.annotations[:nested].first
return false if annot.nil?
return false if annot.fields[:value].nil?
Expand Down

0 comments on commit 0b3b189

Please sign in to comment.