Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
J
jianmu-supplemental
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17,471
    • Issues 17,471
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 35
    • Merge Requests 35
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • compiler_staff
  • jianmu-supplemental
  • Issues
  • #17607

Closed
Open
Opened Nov 23, 2025 by kyle@kyle344
  • Report abuse
  • New issue
Report abuse New issue

Unexpected Indentation Handling in Certain Input Files

Hi, I noticed a small issue while testing the compiler.

When I write code using mixed tabs and spaces, the compiler sometimes interprets the indentation differently from what appears in the editor. In some cases, a block that looks properly aligned ends up being parsed as if it were on a different level.

This isn’t a major bug, but it can cause confusion, especially when copying code from different editors. It might help if the compiler either normalizes mixed indentation or shows a warning when inconsistent indentation is detected.

Thanks!

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: compiler_staff/jianmu-supplemental#17607