Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSplit TopLevelExportDefs away from LinkedClass #4124
Conversation
|
Split away from #4111. To be merged now, or not :) |
|
Let's merge this now. |
| @@ -42,8 +43,6 @@ object Infos { | ||
| val methods: List[MethodInfo], | ||
| val jsNativeMembers: Map[MethodName, JSNativeLoadSpec], | ||
| val exportedMembers: List[ReachabilityInfo], |
This comment has been minimized.
This comment has been minimized.
sjrd
Jul 15, 2020
Member
The CI says:
| val exportedMembers: List[ReachabilityInfo], | |
| val exportedMembers: List[ReachabilityInfo] |
| def loadClassDefAndVersion(irFile: IRFileImpl)( | ||
| implicit ec: ExecutionContext): Future[(ClassDef, Option[String])] = { | ||
| update(irFile).map(s => (s._1, version)) | ||
| } | ||
|
|
||
| private def update(irFile: IRFileImpl)( | ||
| implicit ec: ExecutionContext): Future[(ClassDef, Infos.ClassInfo)] = synchronized { | ||
| implicit ec: ExecutionContext): Future[(ClassDef, Infos.ClassInfo, List[Infos.TopLevelExportInfo])] = synchronized { |
This comment has been minimized.
This comment has been minimized.
sjrd
Jul 16, 2020
Member
The CI says that this line is too long (more than 120 characters). Perhaps move the synchronized inside?

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

gzm0 commentedJul 15, 2020
Side-effects for TopLevelMethodExportDefs in IRChecker:
__for non JS classes.