Giter Site home page Giter Site logo

Comments (1)

andreasabel avatar andreasabel commented on July 21, 2024

Debug printing with -v tc.generalize:40:

open metas = fromList [(MetaId 11 ... argInfoHiding = Instance NoOverlap, ...,(MetaId 13 ... argInfoHiding = NotHidden, ...
computing generalization for type _8
  generalizable        =  _x_11, _x..1_9, _x.X_10
  generalizableOpen    =  _x_11
Inherited metas from _x..1_9: _13
Inherited metas from _x.X_10: _x..1.1_13
  alsoGeneralize       =  _x.X.1_13
we're generalizing over _x_11, _x.X.1_13
created genRec Issue7047..generalizedField-x.X.1,
               Issue7047..generalizedField-x
created genRecordType
  genRecName   =  Issue7047.GeneralizeTel
  genRecCon    =  Issue7047.mkGeneralizeTel
  genRecFields =  x.X.1, x
solving generalized meta _x.X.1_13 := x.X.1
solving generalized meta _x_11 := x
teleTypes = [({x.X.1},Level), (⦃ x ⦄,Set x.X.1)]
genTel    = {x.X.1 : Level} ⦃ x : Set x.X.1 ⦄

There is a visible meta _13 which is later turned hidden, yet there is never any information that it should be Instance.
The meta seems to come from here:

inherited <- fmap Set.unions $ forM generalizableClosed $ \ (x, mv) ->
case mvInstantiation mv of
InstV inst -> do
parentName <- getMetaNameSuggestion x
metas <- filterM canGeneralize . Set.toList .
allMetas Set.singleton =<<
instantiateFull (instBody inst)

from agda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.