Matus Goljer

Results 278 issues of Matus Goljer

This presents a lot of "unreachable expression" false warnings.

bug
scope:checks
scope:analyser

https://www.gnu.org/software/emacs/manual/html_node/elisp/Special-Forms.html - [x] and - [ ] catch - [x] cond - [x] condition-case - [x] defconst - [x] defvar - [x] function - [x] if - [x] interactive -...

enhancement
help wanted
scope:analyser

Something like `(:foo 1 :foo 2)` should raise a warning since this is probably an error.

enhancement
scope:checks

There is not really much to implement except the unification mechanism and then some simple substitution magic on `elsa-get-type` which would take the types from the surroundings and fill the...

enhancement
scope:types

Types such as `(or (cons int int) (cons int symbol))` should be normalized to `(cons int (or int symbol))`. This looks like a homomorphism... maybe we can construct some sort...

enhancement
scope:types

This function is invalid ```elisp (defun x (a) (1+ a) (string-to-number a)) ``` even when we have no idea what `a` is because the overlap of the domains for argument...

enhancement
scope:analyser
scope:inference

Make `elsa-type-accept` work with ternary logic. When we have a predicate like `(stringp x)` the results can be: - `x` is a `String`, in which case always return `true` -...

enhancement
scope:analyser

Blocked by #36. - [x] parse the `cl-defmethod` as if it were a `defun` - [x] handle `cl-defgeneric` - [ ] add type information for arguments which have the native...

enhancement
scope:analyser
scope:types
package:eieio
package:cl

See ```elisp (cl-defmethod elsa-check-check ((_ elsa-check-elsa-prefer-elsa-get-name) form scope state) (let* ((prop (elsa-get-name (elsa-nth 2 form)))) (when (eq prop 'name) (elsa-state-add-message state (elsa-make-notice (elsa-car form) "Prefer (elsa-get-name %s) to (oref %s...

enhancement
help wanted
scope:checks
good first issue

This is really more generic than just form sequences I think. We should be able to work with forms or lists seamlessly. (this can also be implemented in terms of...

enhancement
help wanted
scope:reader
good first issue