Skip to content

Commit 6b4250d

Browse files
committed
Remove reflectedFields macro
This macro is problematic because the community buid can be compiled on the non-bootstrapped library.
1 parent 3536773 commit 6b4250d

File tree

3 files changed

+62
-27
lines changed

3 files changed

+62
-27
lines changed

community-build/src/scala/dotty/communitybuild/Fields.scala

Lines changed: 0 additions & 9 deletions
This file was deleted.

community-build/src/scala/dotty/communitybuild/FieldsImpl.scala

Lines changed: 0 additions & 17 deletions
This file was deleted.

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,67 @@ object projects:
630630

631631
end projects
632632

633-
def allProjects = projects.reflectedFields.of[CommunityProject].sortBy(_.project)
633+
def allProjects = List(
634+
utest,
635+
sourcecode,
636+
oslib,
637+
oslibWatch,
638+
ujson,
639+
upickle,
640+
upickleCore,
641+
geny,
642+
fansi,
643+
pprint,
644+
requests,
645+
scas,
646+
intent,
647+
algebra,
648+
scalacheck,
649+
scalatest,
650+
scalatestplusScalacheck,
651+
scalatestplusJunit,
652+
scalaXml,
653+
scalap,
654+
betterfiles,
655+
scalaPB,
656+
minitest,
657+
fastparse,
658+
stdLib213,
659+
shapeless,
660+
xmlInterpolator,
661+
effpi,
662+
sconfig,
663+
zio,
664+
munit,
665+
scodecBits,
666+
scodec,
667+
scalaParserCombinators,
668+
dottyCpsAsync,
669+
scalaz,
670+
endpoints4s,
671+
catsEffect2,
672+
catsEffect3,
673+
scalaParallelCollections,
674+
scalaCollectionCompat,
675+
verify,
676+
discipline,
677+
disciplineMunit,
678+
disciplineSpecs2,
679+
simulacrumScalafixAnnotations,
680+
cats,
681+
catsMtl,
682+
coop,
683+
scissEqual,
684+
scissFingerTree,
685+
scissLog,
686+
scissModel,
687+
scissNumbers,
688+
scissSerial,
689+
scissAsyncFile,
690+
scissSpan,
691+
scalaSTM,
692+
scissLucre,
693+
izumiReflect,
694+
)
634695

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

0 commit comments

Comments
 (0)