You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lokathor opened this issue
Nov 21, 2021
· 1 comment
Labels
A-hoverhover featureA-idegeneral IDE featuresA-tytype system / type inference / traits / method resolutionC-featureCategory: feature requestE-unknownIt's unclear if the issue is E-hard or E-easy without digging inS-actionableSomeone could pick this issue up and work on it right now
If one hovers the mouse over Charblock4 you will see pub type Charblock8 = [Tile8; 256], the full type.
If one hovers the mouse over pub type Tile4 = [u32; _], which is missing the number of elements.
It would be greatly improved if the display could evaluate the expression and show that.
I completely understand if a full const evaluation engine can't be rigged into RA, but at least some const expressions (such as integer literal math) should be possible.
The text was updated successfully, but these errors were encountered:
Veykril
added
A-ide
general IDE features
A-ty
type system / type inference / traits / method resolution
C-feature
Category: feature request
E-unknown
It's unclear if the issue is E-hard or E-easy without digging in
S-actionable
Someone could pick this issue up and work on it right now
labels
Dec 17, 2021
A-hoverhover featureA-idegeneral IDE featuresA-tytype system / type inference / traits / method resolutionC-featureCategory: feature requestE-unknownIt's unclear if the issue is E-hard or E-easy without digging inS-actionableSomeone could pick this issue up and work on it right now
Given the following:
Charblock4
you will seepub type Charblock8 = [Tile8; 256]
, the full type.pub type Tile4 = [u32; _]
, which is missing the number of elements.It would be greatly improved if the display could evaluate the expression and show that.
I completely understand if a full const evaluation engine can't be rigged into RA, but at least some const expressions (such as integer literal math) should be possible.
The text was updated successfully, but these errors were encountered: