Skip to content

$typeof(uint).has_tagof to return false, not crash #2152

Closed
@tonis2

Description

@tonis2

For example running a compile time code $typeof(#type).has_tagof,
where #type is going to be uint, the check will crash.

It's fine that only structs can have tags, but maybe its possible to make has_tagof check return false automatically, when type cant have tags

Nothing critical, only when it's easy to implement.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingFixed needs testingNeeds verification / testing that it now works

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions