 ‘elisp/runfiles/remote’."
   (cl-check-type runfiles elisp/runfiles/runfiles)
   (cl-check-type remote (or string null))
-  (elisp/runfiles/env-vars--internal runfiles remote))
+  (elisp/runfiles/env-vars--internal (elisp/runfiles/runfiles--impl runfiles)
+                                     remote))
 
 (defun elisp/runfiles/filename-p (string)
   "Return whether STRING is a possible argument for ‘elisp/runfiles/rlocation’."


;;;; Implementations of the ‘elisp/runfiles/runfiles’ class:

(defclass elisp/runfiles/runfiles--manifest (elisp/runfiles/runfiles)
  ((filename :initarg :filename :type string)
   (manifest :initarg :manifest :type hash-table))
  :documentation "Manifest-based runfiles implementation.")

(defun elisp/runfiles/make--manifest (filename)
  "Parse the runfile manifest in the file FILENAME.

;;; Code:

(require 'cl-lib)
(require 'pcase)
(require 'rx)
(require 'subr-x)
