Skip to content

Eldarica misses to emit a parser error #60

@kensingRichardt

Description

@kensingRichardt

Hello everyone,

it seems that eldarica's parser misses to report an error for the following SMT-Code:

(declare-fun p ((Array Int Bool)) Bool)

(assert
  (p
    (store ((as const (Array Int Bool)) false) 1 3)
  )
)

The assertion is not well-sorted, i.e. we store in an array of type Bool an Int value. However eldarica outputs

$ ~/eldarica/eld -assert  test.smt2 
sat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions