Skip to content

Should detect <, > in FunC as part of name identifier, not something else #60

@Kaladin13

Description

@Kaladin13

Given the code:

cell cl::get<objRef>(cell $self, int fieldName) impure inline method_id {
    return cl::get<cellRef>($self, fieldName);
}

int cl::get<uint8>(cell $self, int fieldName) impure inline method_id {
    return $self.cl::get<uint>(fieldName, 8);
}

int cl::get<uint16>(cell $self, int fieldName) impure inline method_id {
    return $self.cl::get<uint>(fieldName, 16);
}

int cl::get<uint32>(cell $self, int fieldName) impure inline method_id {
    return $self.cl::get<uint>(fieldName, 32);
}
Image
$md.cl::get<uint8>(md::CounterIncrement::incrementType);

uint8 should not be highlighted as something else, it is part of the function name

Metadata

Metadata

Assignees

Labels

FunCTasks related to FunC support

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions