Distinguishing between lambda (runtime) and compiler (source)