Agda-2.3.2.2: test/fail/LevelUnification.agda
{-# OPTIONS --universe-polymorphism #-}
-- Level suc is not a constructor, and doesn't behave as one
-- for unification.
module LevelUnification where
open import Imports.Level
data _≡_ {a}{A : Set a}(x : A) : ∀ {b}{B : Set b} → B → Set where
refl : x ≡ x
sym : ∀ a b (A : Set (suc a))(B : Set (suc b))(x : A)(y : B) → x ≡ y → y ≡ x
sym a .a A .A x .x refl = refl