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
--Warning: initcheck.scala:5:23----------------------------------5|val$values=Array(A)
|^|Promoting the value under initialization to fully-initialized. Callingtrace:
|->val$values=Array(A) [ initcheck.scala:5 ]
1 warning found
Expectation
I thought that directly referencing the value should have the same behaviour as passing it to an array constructor