Skip to content

literal expressions not type-safe #34

@ericrbg

Description

@ericrbg

mwe:

import Qq
open Qq

def foo (a : Q(Bool)) : Prop := true

example : Prop :=
  let a : Q(Nat) := q(23)
  have := foo a
  have := foo q($a)
  false

the line that says foo a is totally fine, but foo q($a) errors as expected. It'd be nice if I didn't have to requote everything to get the type errors!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions