Skip to content

Commit 86a02b1

Browse files
committed
removed debug output
1 parent 8b8a4a5 commit 86a02b1

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

src/main/scala/gopher/channels/SelectorBuilder.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ class SelectorBuilderImpl(val c: Context) extends ASTUtilImpl
101101
c.abort(f.tree.pos, "match expected in gopher select loop, have: ${MacroUtil.shortString(f.tree)}");
102102
}
103103
}
104-
System.err.println(s"builder=${builder}")
105-
//val tc = c.typecheck(builder)
106-
//System.err.println(s"tc=${tc}")
107104
c.Expr[T](MacroUtil.cleanUntypecheck(c)(q"gopher.goasync.AsyncWrapper.await(${builder}.go)"))
108105
}
109106

src/main/scala/gopher/goasync/AsyncApply.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ object AsyncApply
7373
ex.printStackTrace()
7474
throw ex
7575
}
76-
case q"{ $stats }" =>
77-
//System.err.println(s"catched, stats.length==${stats.length}")
78-
System.err.println(s"stats = ${stats}")
79-
System.err.println(s"raw = ${showRaw(stats)}")
80-
throw new RuntimeException("qqq")
8176
case _ => c.abort(hof.pos,"hof match failed:"+hof+"\n raw:"+showRaw(hof))
8277
}
8378
}

src/main/scala/gopher/goasync/GoAsync.scala

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,16 +221,7 @@ object GoAsync
221221
// enclosing async instead those applied from asyncApply
222222
// 2. to expand macroses here, to prevent error during expanding macroses
223223
// in next typecheck
224-
try {
225224
c.typecheck(uar)
226-
}catch{
227-
case ex: Exception =>
228-
System.err.println(s"failed to typecheck uar: ${ex}")
229-
System.err.println(s"uar=${uar}")
230-
System.err.println(s"nb=${nb}")
231-
//System.err.println(s"raw=${showRaw(uar)}")
232-
throw ex
233-
}
234225
} else {
235226
uar
236227
}

0 commit comments

Comments
 (0)