Skip to content

Commit

Permalink
Remove reflectedFields macro
Browse files Browse the repository at this point in the history
This macro is problematic because the community buid can be compiled on the non-bootstrapped library.
  • Loading branch information
nicolasstucki committed Jan 15, 2021
1 parent 3536773 commit 0faf8a6
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 27 deletions.
9 changes: 0 additions & 9 deletions community-build/src/scala/dotty/communitybuild/Fields.scala

This file was deleted.

17 changes: 0 additions & 17 deletions community-build/src/scala/dotty/communitybuild/FieldsImpl.scala

This file was deleted.

63 changes: 62 additions & 1 deletion community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,67 @@ object projects:

end projects

def allProjects = projects.reflectedFields.of[CommunityProject].sortBy(_.project)
def allProjects = List(
projects.utest,
projects.sourcecode,
projects.oslib,
projects.oslibWatch,
projects.ujson,
projects.upickle,
projects.upickleCore,
projects.geny,
projects.fansi,
projects.pprint,
projects.requests,
projects.scas,
projects.intent,
projects.algebra,
projects.scalacheck,
projects.scalatest,
projects.scalatestplusScalacheck,
projects.scalatestplusJunit,
projects.scalaXml,
projects.scalap,
projects.betterfiles,
projects.scalaPB,
projects.minitest,
projects.fastparse,
projects.stdLib213,
projects.shapeless,
projects.xmlInterpolator,
projects.effpi,
projects.sconfig,
projects.zio,
projects.munit,
projects.scodecBits,
projects.scodec,
projects.scalaParserCombinators,
projects.dottyCpsAsync,
projects.scalaz,
projects.endpoints4s,
projects.catsEffect2,
projects.catsEffect3,
projects.scalaParallelCollections,
projects.scalaCollectionCompat,
projects.verify,
projects.discipline,
projects.disciplineMunit,
projects.disciplineSpecs2,
projects.simulacrumScalafixAnnotations,
projects.cats,
projects.catsMtl,
projects.coop,
projects.scissEqual,
projects.scissFingerTree,
projects.scissLog,
projects.scissModel,
projects.scissNumbers,
projects.scissSerial,
projects.scissAsyncFile,
projects.scissSpan,
projects.scalaSTM,
projects.scissLucre,
projects.izumiReflect,
)

lazy val projectMap = allProjects.map(p => p.project -> p).toMap

0 comments on commit 0faf8a6

Please sign in to comment.