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
if (skip) NoneelseSome(lit(Constant(pool.getType(index))))
527
526
caseENUM_TAG=>
528
-
valt= pool.getType(index)
529
-
valn= pool.getName(in.nextChar)
530
-
valmodule= t.typeSymbol.companionModule
531
-
vals= module.info.decls.lookup(n)
527
+
valenumClassTp= pool.getType(index)
528
+
valenumCaseName= pool.getName(in.nextChar)
532
529
if (skip)
533
530
None
534
-
elseif (s !=NoSymbol)
535
-
Some(lit(Constant(s)))
536
531
else {
537
-
report.warning(s"""While parsing annotations in ${in.file}, could not find $n in enum $module.\nThis is likely due to an implementation restriction: an annotation argument cannot refer to a member of the annotated class (SI-7014).""")
0 commit comments