Permalink
Browse files

Fixed minor macro bug

  • Loading branch information...
darkfrog26 committed Nov 10, 2018
1 parent e7c4524 commit e6c240f27e45633f8156794b3dfa57adcb78e630
Showing with 1 addition and 1 deletion.
  1. +1 −1 communication/shared/src/main/scala/io/youi/communication/Macros.scala
@@ -63,7 +63,7 @@ object Macros {
val declaredMethods = c.tpe.decls.toSet
val methods = c.tpe.members.toList.sortBy(_.fullName).collect {
case symbol if symbol.isMethod & symbol.asMethod.isPublic & symbol.typeSignature.resultType <:< typeOf[Future[Any]] => {
case symbol if symbol.isMethod && symbol.asMethod.isPublic && symbol.typeSignature.resultType <:< typeOf[Future[Any]] => {
val endPoint = s"$baseTypeName.${symbol.name}"
val m = symbol.asMethod
val declared = declaredMethods.contains(m)

0 comments on commit e6c240f

Please sign in to comment.