emacs-elsa / Elsa

Emacs Lisp Static Analyzer and gradual type system.
GNU General Public License v3.0
640 stars 26 forks source link

Unable to analyse #165

Closed contrapunctus-1 closed 4 years ago

contrapunctus-1 commented 4 years ago

As mentioned in #159, running cask exec elsa chronometrist.el returns -

Other must be ‘elsa-type-child-p’

I haven't added an Elsafile.el yet, FWIW.

Permalink to file

Fuco1 commented 4 years ago

@contrapunctus-1 I think that's the problem, I've added it.

I need to rework the startup so it defaults to something reasonable, see also #153

contrapunctus-1 commented 4 years ago

I've added an Elsafile.el containing the following to the project root (same directory as the Cask file) -

(register-extensions dash cl elsa)

(register-ruleset dead-code style error variables elsa)

and I still run into the issue :\

contrapunctus-1 commented 4 years ago

Ah, I forgot to run cask update. Now (with Elsa v20191002.2030) and the Elsafile.el above, I'm able to analyze the file.