Fix Issue 11552 - Missing label is not caught during semantic
Merge pull request #2825 from yebblies/issue11552

Issue 11552 - Missing label is not caught during semantic