Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • vala vala
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 777
    • Issues 777
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 71
    • Merge requests 71
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • valavala
  • Issues
  • #1246
Closed
Open
Issue created Nov 02, 2021 by Princeton Ferro@Prince781☕Reporter

parser infinite loop with stray case statement

This causes an infinite loop with or without --keep-going.

void main() {
    case 1:
}
% vala iloop.vala
iloop.vala:2.5-2.8: error: expected `}'
iloop.vala:2.5-2.8: error: expected end of file
iloop.vala:2.5-1.13: error: The root namespace already contains a definition for `main'
iloop.vala:2.5-2.8: error: expected end of file
...
Edited Nov 02, 2021 by Princeton Ferro
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking