Github user stevedlawrence commented on a diff in the pull request:

    https://github.com/apache/incubator-daffodil/pull/5#discussion_r150859793
  
    --- Diff: 
daffodil-core/src/main/scala/edu/illinois/ncsa/daffodil/dsom/Nesting.scala ---
    @@ -62,11 +62,12 @@ trait NestingMixin {
        */
       final lazy val enclosingComponent: Option[SchemaComponent] = {
         val optECD = enclosingComponentDef
    -    optECD match {
    -      case Some(eref: ElementRef) => eref.enclosingComponent
    -      case Some(gref: GroupRef) => gref.enclosingComponent
    +    val res = optECD match {
    +//      case Some(eref: ElementRef) => eref.enclosingComponent
    +//      case Some(gref: GroupRef) => gref.enclosingComponent
    --- End diff --
    
    This match/case is essentially a no-op now.


---

Reply via email to