Skip to content

local type assumptions#1918

Merged
borisbat merged 2 commits into
masterfrom
assume-it
Oct 31, 2025
Merged

local type assumptions#1918
borisbat merged 2 commits into
masterfrom
assume-it

Conversation

@borisbat
Copy link
Copy Markdown
Collaborator

def in_regular {
    assume type foo = int // local type alias
    var a : foo = 42
}
def in_generic ( a  : auto(TT) ) {
    assume type TT_ARRAY = array<TT> // generic type alias
    var b : TT_ARRAY
    return <- b
}

@borisbat borisbat merged commit 192413b into master Oct 31, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant