Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

Scan error with "Containing expression ends prematurely"

Open conao3 opened this issue 6 years ago • 1 comments

Hi! I interested this project and use it but Elsa was exited with Scan error.

There is little information available (I don't even know which file is the cause) from the error message and I tried to debug, but I didn't know why it didn't work. Do you know why Elsa failed?

Work log

conao-macbook:~/.emacs.d/site-lisp/flylint conao
$ cat Cask 
;; -*- mode:lisp -*-

(source gnu)
(source melpa)

(package "flylint" "0.0.1" "Asynchronous on-the-fly inspection framework")

(package-file "flylint.el")

(development
 (depends-on "cort-test"
             :git "https://github.com/conao3/cort-test.el"
             :ref "0d5820c"
             :files ("*.el" (:exclude "cort-tests.el")))
 (depends-on "elsa")
 ;; (depends-on "ecukes")
 ;; (depends-on "ert-runner")
 ;; (depends-on "el-mock")
 )


conao-macbook:~/.emacs.d/site-lisp/flylint conao
$ cask
Loading package information... done
Package operations: 4 installs, 0 removals
  - Installing [ 1/4] async-await (1.0)... already present
  - Installing [ 2/4] emacs (26)... already present
  - Installing [ 3/4] elsa (latest)... already present
  - Installing [ 4/4] cort-test (latest)... already present


conao-macbook:~/.emacs.d/site-lisp/flylint conao
$ cask exec elsa flylint.el 
analyzer: updating variable promise--last-error, old type nil
analyzer: updating variable promise--is-error, old type nil
analyzer: updating variable promise--on-handle, old type nil
analyzer: updating variable promise--on-reject, old type nil
Scan error: "Containing expression ends prematurely", 6492, 6493

conao3 avatar Oct 20 '19 13:10 conao3

The header of flylint.el as below.

$ cat flylint.el | head
;;; flylint.el --- Asynchronous on-the-fly inspection framework  -*- lexical-binding: t; -*-

;; Copyright (C) 2019  Flylint Community

;; Author: Naoya Yamashita <[email protected]>
;;         USAMI Kenta <[email protected]>
;; Version: 0.0.1
;; Keywords: tools
;; Package-Requires: ((emacs "26") (async-await "1.0"))
;; License: GPL-3.0

and a full project located in http://github.com/flylint/flylint .

conao3 avatar Oct 20 '19 13:10 conao3