Skip to content

Commit

Permalink
definition-source-file-location: fall back to 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
stassats committed Apr 25, 2024
1 parent 1f3b856 commit 2011782
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swank/sbcl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,8 @@ QUALITIES is an alist with (quality . value)"
(ignore-errors
(source-file-position namestring file-write-date
form-path))))
character-offset))
character-offset
0))
(snippet (source-hint-snippet namestring file-write-date pos)))
(make-location `(:file ,namestring)
;; /file positions/ in Common Lisp start from
Expand Down

0 comments on commit 2011782

Please sign in to comment.