Skip to content

Expand private type synonyms #485

@yav

Description

@yav

This is more of an improvement than a bug.
Consider the following example:

module A where

 f : [T]
 f = 10

 private type T = 8

In this case we are exporting f, but not the type synonym T. This is questionable practice, but I think that in this case, Cryptol should export f with type [8] rather than [A::T]. This type is equivalent, and the idea is that if the type synonym is not exported, then it should not be used when reporting types.

Metadata

Metadata

Assignees

Labels

feature requestAsking for new or improved functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions