Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Kind of static type checking? #4

@phmarek

Description

@phmarek

Hi,

first of all,

(let ((*features* (cons :inline-generic-function *features*)))
  (print (inline-generic-function '(plus a b))))

This symbol is not exported, and not even defined in my QL (inlined-generic-function-20160628-git).

Furthermore, I tried to get some static type checking. With a default method (that might be a default of inlined-generic-function even?) of

(defmethod plus (a b)
  (error "NO METHOD"))

I get variable defined but not used in call sites that might use that, but a more descriptive message would be better. Do you see any way to get a compile time error with a useful message?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions