File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -699,10 +699,20 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
699
699
/** TypeRepr of this term */
700
700
def tpe : TypeRepr
701
701
702
- /** Replace Inlined nodes and InlineProxy references to underlying arguments */
702
+ /** Replace Inlined nodes and InlineProxy references to underlying arguments.
703
+ * The resulting tree is useful for inspection of the value or content of a non-inline argument.
704
+ *
705
+ * Warning: This tree may contain references that are out of scope and should not be used in the generated code.
706
+ * This method should only used to port Scala 2 that used to access their outer scope unsoundly.
707
+ */
703
708
def underlyingArgument : Term
704
709
705
- /** Replace Ident nodes references to the underlying tree that defined them */
710
+ /** Replace Ident nodes references to the underlying tree that defined them.
711
+ * The resulting tree is useful for inspection of the definition of some bindings.
712
+ *
713
+ * Warning: This tree may contain references that are out of scope and should not be used in the generated code.
714
+ * This method should only used to port Scala 2 that used to access their outer scope unsoundly.
715
+ */
706
716
def underlying : Term
707
717
708
718
/** Converts a partially applied term into a lambda expression */
You can’t perform that action at this time.
0 commit comments