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
const CAPACITY = 100;
const EVICTION_FACTOR = 0.2;
final cache:Cache userInfoCache = new (capacity = CAPACITY, evictionFactor = EVICTION_FACTOR);
This gives the following error, as it doesn't recognize the constant types as int or float: invalid value: For input string: "CAPACITY" invalid value: For input string: "EVICTION_FACTOR"
It seems the constants are not being identified with their intended types.
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered:
Description
This gives the following error, as it doesn't recognize the constant types as
int
orfloat
:invalid value: For input string: "CAPACITY"
invalid value: For input string: "EVICTION_FACTOR"
It seems the constants are not being identified with their intended types.
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: