Skip to content

Instantly share code, notes, and snippets.

@paulp
Last active March 31, 2017 00:08
Show Gist options
  • Save paulp/696b310f7885a67cb372baf6d2c6d3af to your computer and use it in GitHub Desktop.
Save paulp/696b310f7885a67cb372baf6d2c6d3af to your computer and use it in GitHub Desktop.
+[warn] !!! HK subtype check on [X]std.this.Consecutive[X] and scala.this.Singleton, but both don't normalize to polytypes:
+[warn] tp1=[X]std.this.Consecutive[X] PolyType
+[warn] tp2=scala.this.Singleton ClassNoArgsTypeRef
[info] [log typer] ?_$2 setInst lang.this.String
-[info] [log typer] ?A setInst scala.this.Any
-[info] [log typer] TVar<CC=null> addHiBound [X]std.this.Consecutive[X].instantiateTypeParams(List(type A, type CC), List(=?scala.this.Any, TVar<CC=n*ull>))
+[info] [log typer] ?A setInst scala.this.Singleton
+[info] [log typer] TVar<CC=null> addHiBound [X]std.this.Consecutive[X].instantiateTypeParams(List(type A, type CC), List(=?scala.this.Singleton, TVa*r<CC=null>))
+[warn] !!! HK subtype check on [X]std.this.Consecutive[X] and scala.this.Singleton, but both don't normalize to polytypes:
+[warn] tp1=[X]std.this.Consecutive[X] PolyType
+[warn] tp2=scala.this.Singleton ClassNoArgsTypeRef
[info] [log typer] ?CC setInst [X]std.this.Consecutive[X]
-[info] [log typer] Inferred type for CC in StdShow#showConsecutive[A,CC[X] <: std.this.Consecutive[X]] ([X]std.this.Consecutive[X]) does not conform* to bounds: >: lang.this.Comparable <: [X]std.this.Consecutive[X] _= [X]std.this.Consecutive[X]
-[info] [log typer] error tree = psp.std.StdShow.showConsecutive[scala.this.Any, [X]std.this.Consecutive[X]]
+[info] [log typer] Inferred type for A in StdShow#showConsecutive[A,CC[X] <: std.this.Consecutive[X]] (scala.this.Singleton) does not conform to bou*nds: >: lang.this.String <: scala.this.Singleton _= scala.this.Singleton
+[info] [log typer] error tree = psp.std.StdShow.showConsecutive[scala.this.Singleton, [X]std.this.Consecutive[X]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment