-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
RustPull requests that update Rust codePull requests that update Rust codequestionFurther information is requestedFurther information is requested
Description
Description of the issue
How do I get the type of an expression in Rust?
For example, I want to constrain this to only accesses on string-like expressions.
private class IndexExprOnNonConstantString extends IndexExpr {
IndexExprOnNonConstantString() { not this.getBase() instanceof StringLiteralExpr }
}
Actual: No getType
predicate on expr.
Expected: Predicate to get type of expr.
When will support be added for an - in my understanding - very basic feature?
Or is there a workaround/internal API?
drank40
Metadata
Metadata
Assignees
Labels
RustPull requests that update Rust codePull requests that update Rust codequestionFurther information is requestedFurther information is requested