Function: majutsu-template--method-segment-result-type
majutsu-template--method-segment-result-type is a natively compiled
function defined in majutsu-template.el.
Signature
(majutsu-template--method-segment-result-type RECEIVER-TYPE METHOD-NAME ARGS)
Documentation
Infer result type of calling METHOD-NAME on RECEIVER-TYPE with ARGS.
Return nil if the result type is unknown.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--method-segment-result-type (receiver-type method-name args)
"Infer result type of calling METHOD-NAME on RECEIVER-TYPE with ARGS.
Return nil if the result type is unknown."
(when-let* ((dispatch (majutsu-template--method-dispatch-info receiver-type method-name))
(dispatch-type (car dispatch))
(meta (cdr dispatch)))
(majutsu-template--resolve-method-return-via
meta args
(majutsu-template--resolve-return-type-ref
dispatch-type
(majutsu-template--fn-returns meta)))))