mbeckerle commented on a change in pull request #214: Sequences and Separators
Refactoring and Rewrite
URL: https://github.com/apache/incubator-daffodil/pull/214#discussion_r286519955
##########
File path: daffodil-core/src/main/scala/org/apache/daffodil/dsom/Nesting.scala
##########
@@ -45,7 +45,10 @@ trait NestingMixin {
* referenced from a element ref or group ref, is NOT the ref object, but
the
* component that contains the ref object
*/
- final lazy val enclosingComponent: Option[SchemaComponent] =
enclosingComponentDef
+ final lazy val enclosingComponent: Option[SchemaComponent] = {
Review comment:
I can revert this. This is just giving a place for a breakpoint where you
can examine the value. Very annoying to me that you can't see the value before
an expression returns without permuting the code like this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services