diff options
author | Martin Odersky <odersky@gmail.com> | 2016-09-15 18:08:10 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-10-02 16:12:28 +0200 |
commit | 95e488eab2a686671b2a6ffd8fce05c043b3afab (patch) | |
tree | 397e7af116478809048f82b5469e6d7101b160ca /src/dotty/annotation/internal/Body.scala | |
parent | 5a46d19dde76b739f6672c9b6f57355cfd38159a (diff) | |
download | dotty-95e488eab2a686671b2a6ffd8fce05c043b3afab.tar.gz dotty-95e488eab2a686671b2a6ffd8fce05c043b3afab.tar.bz2 dotty-95e488eab2a686671b2a6ffd8fce05c043b3afab.zip |
Use BodyAnnot to indicate rhs of inline method
Since fundamental operations such as treeCopy have to know
about inline bodies, it seems better to represent this
information directly in an annotation.
Diffstat (limited to 'src/dotty/annotation/internal/Body.scala')
-rw-r--r-- | src/dotty/annotation/internal/Body.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dotty/annotation/internal/Body.scala b/src/dotty/annotation/internal/Body.scala new file mode 100644 index 000000000..7e26b02f2 --- /dev/null +++ b/src/dotty/annotation/internal/Body.scala @@ -0,0 +1,8 @@ +package dotty.annotation.internal + +import scala.annotation.Annotation + +/** The class associated with a `BodyAnnotation`, which indicates + * an inline method's right hand side + */ +final class Body() extends Annotation |