Decl

sealed interface Decl

Inheritors

Types

Link copied to clipboard
data class Alias(val name: String, val type: Type) : Decl
Link copied to clipboard
data class Record(val name: String, val fields: List<Decl.Record.Field>) : Decl
Link copied to clipboard
data class Variant(val name: String, val members: List<Decl.Variant.Member>, val isEnum: Boolean = false) : Decl

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
fun Decl.blame(known: Set<String>, declared: Set<String>): String?

Returns the name of the first declaration that blocks the creation of a finite value.