Skip to content

Commit

Permalink
Fixes #450.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shannon Spires authored and xrme committed Apr 22, 2024
1 parent b355718 commit db68b3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/source-files.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,11 @@ The returned list is guaranteed freshly consed (ie suitable for nconc'ing)."
(if (and (find-class 'xref-entry nil)
(xref-entry-p name))
(setq implicit-type (xref-entry-type name) implicit-name (xref-entry-full-name name))
(setq implicit-type t implicit-name name)))))
(setq implicit-type t implicit-name
(if (and (consp name) ; ensure things work for functions internal to methods and functions
(eql :INTERNAL (car name)))
(car (last name)) ; handles anonymous :INTERNAL as well as named :INTERNAL (i.e. flet and labels)
name))))))
(setq implicit-dt-class (class-of (definition-type-instance implicit-type)))
(with-lock-grabbed (*source-files-lock*)
(loop for (nil . dt) in *definition-types*
Expand Down

0 comments on commit db68b3f

Please sign in to comment.