* inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608