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
enumeration name lost: for SomeEnumeration.Value, parser produces STraitCall("Value", Nil). I think this is because in ScalanParsers, you have
case select: Select =>
STraitCall(select.name, List())
Big issue, can be delayed: in STraitCall we only have name as String, it should probably be SSymbol. Otherwise we can't distinguish two classes with same names in different packages, class A from type parameter A, etc.
Why do we want
case STpePrimitive(name, _) => STraitCall(name, List())
in traitCall? And more generally, STraitCalls with empty type param lists?
Lower type bound is ignored in def tpeArg(tdTree: TypeDef).
Equivalent to RefTreeApi: SIdent, SSelect, and STpeSelectFromTT need to carry SSymbols they reference.
Type of DnnExample.ctx is represented as Some(STpeSingle(STpeThis(DnnExample),ctx)), expected Some(STraitCall(DnnContext)).
Also from previous, it should be STpeThis(fullNameString: String). DnnExample is not full name.STpeThis should carry an SSymbol instead of/in addition to String as well.
Add SThrow.
When reading Cols.scala from a dependency, types aren't set properly. Even 1 is parsed as SConst(1, None).
The text was updated successfully, but these errors were encountered:
SUnitDef
can be created and passed to Scalanizer without correspondingUnitConfig
, so path information is lost.@throws[Exception]
annotation is not inSMethodDef.annotations
.SAnnotation
needstypeArgs
(e.g.@throws[SomeException]
).From
Enums.scalan
:enumeration name lost: for
SomeEnumeration.Value
, parser producesSTraitCall("Value", Nil)
. I think this is because inScalanParsers
, you haveBig issue, can be delayed: in
STraitCall
we only have name asString
, it should probably beSSymbol
. Otherwise we can't distinguish two classes with same names in different packages,class A
from type parameterA
, etc.Why do we want
in
traitCall
? And more generally,STraitCall
s with empty type param lists?Lower type bound is ignored in
def tpeArg(tdTree: TypeDef)
.Equivalent to
RefTreeApi
:SIdent
,SSelect
, andSTpeSelectFromTT
need to carrySSymbol
s they reference.Type of
DnnExample.ctx
is represented asSome(STpeSingle(STpeThis(DnnExample),ctx))
, expectedSome(STraitCall(DnnContext))
.Also from previous, it should beSTpeThis(fullNameString: String)
.DnnExample
is not full name.STpeThis
should carry anSSymbol
instead of/in addition toString
as well.Add
SThrow
.When reading
Cols.scala
from a dependency, types aren't set properly. Even1
is parsed asSConst(1, None)
.The text was updated successfully, but these errors were encountered: