-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Describe the bug
When writing ; inside enhanced enum before it contains a constructor, it gets removed.
To Reproduce
Steps to reproduce the behavior:
- In a dart file, write
enum Enhanced { e } - Add
;aftereand see the code will stay the same
Expected behavior
I expect the ; to stay there so I can write the constructor.
Please complete the following information:
Workspace Environment
Dart Code extension: 3.115.20250715
Flutter extension: 3.115.20250701 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.102.2
Workspace type: Dart (LSP)
Workspace name: bug
Dart (3.10.0-edge.7e05022286da202d366091d3efa446e6fbf685ab): C:\Users\felip_0vh5fa6\dart
Flutter (3.32.7): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)
Output from 'dart info'
C:\Users\felip_0vh5fa6\dart\bin\dart.exe info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.10.0-edge.7e05022286da202d366091d3efa446e6fbf685ab (main) (Fri Jul 18 17:46:04 2025 -0700) on "windows_x64"
- on windows / "Windows 11 Pro" 10.0 (Build 26100)
- locale is pt-BR
Project info
- sdk constraint: '^3.9.0-edge.bddcddfe6b0914c7f234cd4400e1e70e8a72d374'
- dependencies: bloc, due_date, meta
- dev_dependencies: lints, test, test_reflective_loader, very_good_analysis
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe | |
| 0 MB | -- | dart.exe |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available