8000 Internal error with --two-level due to blocking on solved meta · Issue #7034 · agda/agda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Internal error with --two-level due to blocking on solved meta #7034
Closed
@sattlerc

Description

@sattlerc

On master (ee876ee).

{-# OPTIONS --two-level #-}
module Issue7034 where

open import Agda.Primitive using (SSet)

postulate
  A : SSet
  x : A

foo : {!(y : A) → ?!}
foo = x

Filling the hole gives:

An internal error has occurred. Please report this as a bug.
Location of the error: __IMPOSSIBLE__, called at src/full/Agda/TypeChecking/Constraints.hs:71:11 in Agda-2.6.5-ec51c49b804662559b10509859f950f6b1a84575acb5950875806501b569d6c0:Agda.TypeChecking.Constraints

This references a case in addConstraintTM:

      forM_ (allBlockingMetas unblock) $ \ m ->
        whenM (isInstantiatedMeta m) $ do
          reportSDoc "tc.constr.add" 5 $ "Attempted to block on solved meta" <+> prettyTCM m
          __IMPOSSIBLE__

Metadata

Metadata

Assignees

Labels

constraintsConstraints (postponed type checking problems, postponed unification problems, instance constraints)internal-errorConcerning internal errors of Agdaregression in 2.6.4Regression that first surfaced in Agda 2.6.4sortsAgda's sort system (see also piSort); univSort; Sort metas; Fibrancy

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0