system/src/sc/lang/java/SelectorExpression.java
public boolean propagatesInferredType(Expression child) {
      if (child == expression)
         return false;
      // Since child can be any descendant, if it's an argument to a method it has an inferred type
      if (isSelectorArg(child))
         return true;
      // TODO: Not sure what other expression children a selector expression can have but there's a case where we are a child of a PropertyAssignment, reverse-only binding which might get here?
      if (!hasInferredType())
         return false;
      return true;
   }
// We propagate to arguments in VariableSelectors but not to the root expression and not when a direct child of a PropertyAssignment that's a reverse only binding
We propagate to arguments in VariableSelectors but not to the root expression and not when a direct child of a PropertyAssignment that's a reverse only binding
We propagate to arguments in VariableSelectors but not to the root expression and not when a direct child of a PropertyAssignment that ' s a reverse only binding
public boolean propagatesInferredType(Expression child) {
      if (child == expression)
         return false;
      if (isSelectorArg(child))
         return true;
      if (!hasInferredType())
         return false;
      return true;
   }
public boolean propagatesInferredType ( Expression child ) { if ( child == expression ) return false ; if ( isSelectorArg ( child ) ) return true ; if ( ! hasInferredType ( ) ) return false ; return true ; }
We propagate to arguments in VariableSelectors but not to the root expression and not when a direct child of a PropertyAssignment that's a reverse only binding
We propagate to arguments in VariableSelectors but not to the root expression and not when a direct child of a PropertyAssignment that ' s a reverse only binding
// Since child can be any descendant, if it's an argument to a method it has an inferred type // TODO: Not sure what other expression children a selector expression can have but there's a case where we are a child of a PropertyAssignment, reverse-only binding which might get here?