-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This abstraction makes it clearer which fields of the `CompilationUnitInfo` are set when the symbol is loaded from TASTy. It also makes it trivial to add new attributes without the need to change the `CompilationUnitInfo` and possibly the `ClassSymbol` helper methods.
- Loading branch information
1 parent
f0fc92a
commit 759e518
Showing
6 changed files
with
26 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dotty.tools.dotc.core | ||
|
||
import dotty.tools.io.AbstractFile | ||
import dotty.tools.tasty.TastyVersion | ||
|
||
/** Information about the TASTy of a class symbol. | ||
* | ||
* @param version The TASTy version (major, minor, experimental) | ||
* @param attributes Attributes of in the TASTy attributes section | ||
*/ | ||
case class TastyInfo(version: TastyVersion, attributes: tasty.Attributes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters