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
======================================
At finalPerm.pvl:2:1:
--------------------------------------
1
[-----------
2 class C {
3 final int x;
4 }
-]
5
6
--------------------------------------
Specifying permission over final fields is not allowed, since they are treated as constants.
======================================
The error goes away if you specify an explicit constructor without permissions. I'm guessing permissions get generated for the final fields, where this should actually not happen.
The text was updated successfully, but these errors were encountered:
On dev, the following input:
Yields:
The error goes away if you specify an explicit constructor without permissions. I'm guessing permissions get generated for the final fields, where this should actually not happen.
The text was updated successfully, but these errors were encountered: