text:
Analyzer stopped working

!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 3.6.0
Flutter extension: 3.6.0 (not activated)
VS Code: 1.40.2
Platform: win
HTTP_PROXY: undefined
NO_PROXY: undefined
Thu Nov 28 2019 [16:08:08 GMT+0100 (Mitteleuropäische Normalzeit)] Log file started
[16:08:08] [General] [Info] Searching for SDKs...
[16:08:08] [General] [Info] Environment PATH:
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Oracle\Java\javapath
[16:08:08] [General] [Info]     C:\WINDOWS\system32
[16:08:08] [General] [Info]     C:\WINDOWS
[16:08:08] [General] [Info]     C:\WINDOWS\System32\Wbem
[16:08:08] [General] [Info]     C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[16:08:08] [General] [Info]     C:\WINDOWS\System32\OpenSSH\
[16:08:08] [General] [Info]     C:\Program Files\TortoiseGit\bin
[16:08:08] [General] [Info]     C:\Program Files\Git\cmd
[16:08:08] [General] [Info]     C:\Program Files\SKhynix\DriveManagerEasyKit\bin
[16:08:08] [General] [Info]     C:\Program Files\Microsoft VS Code\bin
[16:08:08] [General] [Info]     C:\Program Files\nodejs\
[16:08:08] [General] [Info]     C:\Program Files\Dart\dart-sdk\bin
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Acronis\VirtualFile\
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Acronis\FileProtector\
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Acronis\FileProtector64\
[16:08:08] [General] [Info]     C:\Program Files (x86)\Common Files\Acronis\SnapAPI\
[16:08:08] [General] [Info]     C:\Program Files\dotnet\
[16:08:08] [General] [Info]     C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
[16:08:08] [General] [Info]     C:\Program Files (x86)\dotnet\
[16:08:08] [General] [Info]     C:\Program Files\Perforce\
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:08] [General] [Info]     C:\Entwicklung\flutter\bin
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\GitHubDesktop\bin
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Roaming\npm
[16:08:08] [General] [Info]     C:\Program Files\Dart\dart-sdk\bin
[16:08:08] [General] [Info]     C:\Entwicklung\tools\protoc\bin
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Roaming\Pub\Cache\bin
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\Android\Sdk\platform-tools
[16:08:08] [General] [Info]     C:\Program Files\Android\Android Studio\jre
[16:08:08] [General] [Info]     C:\Program Files\Java\jdk1.8.0_201\bin
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\Programs\Fiddler
[16:08:08] [General] [Info]     C:\Program Files\Perforce
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:08] [General] [Info]     C:\Users\escam\AppData\Local\Programs\Microsoft VS Code Insiders\bin
[16:08:08] [General] [Info]     C:\Entwicklung\tools\curl-7.66.0-win64-mingw\bin
[16:08:09] [General] [Info] Found Flutter project at C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos:
			Mobile? true
			Web? false
			Create Trigger? false
			Flutter Repo? false
[16:08:09] [General] [Info] Found Flutter project at C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\packages\rtsa_map:
			Mobile? true
			Web? false
			Create Trigger? false
			Flutter Repo? false
[16:08:09] [General] [Info] Found Flutter project at C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\packages\flutter_map:
			Mobile? true
			Web? false
			Create Trigger? false
			Flutter Repo? false
[16:08:09] [General] [Info] Found Flutter project at C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\packages\flutter_map\example:
			Mobile? true
			Web? false
			Create Trigger? false
			Flutter Repo? false
[16:08:09] [General] [Info] Found Flutter project at C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\packages\rtsa_map\example\rtsa_map_test:
			Mobile? true
			Web? false
			Create Trigger? false
			Flutter Repo? false
[16:08:09] [General] [Info] Searching for flutter.bat
[16:08:09] [General] [Info]     Looking for flutter.bat in:
[16:08:09] [General] [Info]         C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos
[16:08:09] [General] [Info]         C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos\bin
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Oracle\Java\javapath
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Oracle\Java\javapath\bin
[16:08:09] [General] [Info]         C:\WINDOWS\system32
[16:08:09] [General] [Info]         C:\WINDOWS\system32\bin
[16:08:09] [General] [Info]         C:\WINDOWS
[16:08:09] [General] [Info]         C:\WINDOWS\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\Wbem
[16:08:09] [General] [Info]         C:\WINDOWS\System32\Wbem\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[16:08:09] [General] [Info]         C:\WINDOWS\System32\WindowsPowerShell\v1.0\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\OpenSSH\
[16:08:09] [General] [Info]         C:\WINDOWS\System32\OpenSSH\bin
[16:08:09] [General] [Info]         C:\Program Files\TortoiseGit\bin
[16:08:09] [General] [Info]         C:\Program Files\Git\cmd
[16:08:09] [General] [Info]         C:\Program Files\Git\cmd\bin
[16:08:09] [General] [Info]         C:\Program Files\SKhynix\DriveManagerEasyKit\bin
[16:08:09] [General] [Info]         C:\Program Files\Microsoft VS Code\bin
[16:08:09] [General] [Info]         C:\Program Files\nodejs\
[16:08:09] [General] [Info]         C:\Program Files\nodejs\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector64\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector64\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\SnapAPI\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\SnapAPI\bin
[16:08:09] [General] [Info]         C:\Program Files\dotnet\
[16:08:09] [General] [Info]         C:\Program Files\dotnet\bin
[16:08:09] [General] [Info]         C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
[16:08:09] [General] [Info]         C:\Program Files\Microsoft SQL Server\130\Tools\Binn\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\dotnet\
[16:08:09] [General] [Info]         C:\Program Files (x86)\dotnet\bin
[16:08:09] [General] [Info]         C:\Program Files\Perforce\
[16:08:09] [General] [Info]         C:\Program Files\Perforce\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps\bin
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\GitHubDesktop\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\npm
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\npm\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Entwicklung\tools\protoc\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\Pub\Cache\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Android\Sdk\platform-tools
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Android\Sdk\platform-tools\bin
[16:08:09] [General] [Info]         C:\Program Files\Android\Android Studio\jre
[16:08:09] [General] [Info]         C:\Program Files\Android\Android Studio\jre\bin
[16:08:09] [General] [Info]         C:\Program Files\Java\jdk1.8.0_201\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Fiddler
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Fiddler\bin
[16:08:09] [General] [Info]         C:\Program Files\Perforce
[16:08:09] [General] [Info]         C:\Program Files\Perforce\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Microsoft VS Code Insiders\bin
[16:08:09] [General] [Info]         C:\Entwicklung\tools\curl-7.66.0-win64-mingw\bin
[16:08:09] [General] [Info]     Found at:
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin
[16:08:09] [General] [Info]     Candidate paths to be post-filtered:
[16:08:09] [General] [Info]         C:\Entwicklung\flutter
[16:08:09] [General] [Info]         C:\Entwicklung\flutter
[16:08:09] [General] [Info]     Found at C:\Entwicklung\flutter
[16:08:09] [General] [Info]     Returning SDK path C:\Entwicklung\flutter for flutter.bat
[16:08:09] [General] [Info] Searching for dart.exe
[16:08:09] [General] [Info]     Looking for dart.exe in:
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Oracle\Java\javapath
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Oracle\Java\javapath\bin
[16:08:09] [General] [Info]         C:\WINDOWS\system32
[16:08:09] [General] [Info]         C:\WINDOWS\system32\bin
[16:08:09] [General] [Info]         C:\WINDOWS
[16:08:09] [General] [Info]         C:\WINDOWS\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\Wbem
[16:08:09] [General] [Info]         C:\WINDOWS\System32\Wbem\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\WindowsPowerShell\v1.0\
[16:08:09] [General] [Info]         C:\WINDOWS\System32\WindowsPowerShell\v1.0\bin
[16:08:09] [General] [Info]         C:\WINDOWS\System32\OpenSSH\
[16:08:09] [General] [Info]         C:\WINDOWS\System32\OpenSSH\bin
[16:08:09] [General] [Info]         C:\Program Files\TortoiseGit\bin
[16:08:09] [General] [Info]         C:\Program Files\Git\cmd
[16:08:09] [General] [Info]         C:\Program Files\Git\cmd\bin
[16:08:09] [General] [Info]         C:\Program Files\SKhynix\DriveManagerEasyKit\bin
[16:08:09] [General] [Info]         C:\Program Files\Microsoft VS Code\bin
[16:08:09] [General] [Info]         C:\Program Files\nodejs\
[16:08:09] [General] [Info]         C:\Program Files\nodejs\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector64\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\FileProtector64\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\SnapAPI\
[16:08:09] [General] [Info]         C:\Program Files (x86)\Common Files\Acronis\SnapAPI\bin
[16:08:09] [General] [Info]         C:\Program Files\dotnet\
[16:08:09] [General] [Info]         C:\Program Files\dotnet\bin
[16:08:09] [General] [Info]         C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
[16:08:09] [General] [Info]         C:\Program Files\Microsoft SQL Server\130\Tools\Binn\bin
[16:08:09] [General] [Info]         C:\Program Files (x86)\dotnet\
[16:08:09] [General] [Info]         C:\Program Files (x86)\dotnet\bin
[16:08:09] [General] [Info]         C:\Program Files\Perforce\
[16:08:09] [General] [Info]         C:\Program Files\Perforce\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps\bin
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\GitHubDesktop\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\npm
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\npm\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Entwicklung\tools\protoc\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Roaming\Pub\Cache\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Android\Sdk\platform-tools
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Android\Sdk\platform-tools\bin
[16:08:09] [General] [Info]         C:\Program Files\Android\Android Studio\jre
[16:08:09] [General] [Info]         C:\Program Files\Android\Android Studio\jre\bin
[16:08:09] [General] [Info]         C:\Program Files\Java\jdk1.8.0_201\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Fiddler
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Fiddler\bin
[16:08:09] [General] [Info]         C:\Program Files\Perforce
[16:08:09] [General] [Info]         C:\Program Files\Perforce\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Microsoft\WindowsApps\bin
[16:08:09] [General] [Info]         C:\Users\escam\AppData\Local\Programs\Microsoft VS Code Insiders\bin
[16:08:09] [General] [Info]         C:\Entwicklung\tools\curl-7.66.0-win64-mingw\bin
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk\bin
[16:08:09] [General] [Info]     Found at:
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk\bin
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk\bin
[16:08:09] [General] [Info]     Candidate paths to be post-filtered:
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk
[16:08:09] [General] [Info]         C:\Program Files\Dart\dart-sdk
[16:08:09] [General] [Info]         C:\Entwicklung\flutter\bin\cache\dart-sdk
[16:08:09] [General] [Info]     Found at C:\Entwicklung\flutter\bin\cache\dart-sdk
[16:08:09] [General] [Info]     Returning SDK path C:\Entwicklung\flutter\bin\cache\dart-sdk for dart.exe
[16:08:09] [General] [Info] Activating Flutter extension for Flutter project...
[16:08:09] [General] [Info] Extension:Startup timing: 812ms
[16:08:10] [General] [Info] Analyzer:Startup timing: 671ms
[16:08:21] [General] [Info] Returning cached promise for getSupportedPlatforms()
[16:08:21] [General] [Info] Checking 5 projects for supported platforms
[16:08:21] [General] [Info] Supported platforms for the workspace are ios, android
[16:08:27] [General] [Info] Analyzer:FirstAnalysis timing: 5262ms
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.analysisSetPriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:283556)
	at g.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32428)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31221
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:30966)
	at g.updatePriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32260)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31794
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:625:348
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at p.$acceptDocumentsAndEditorsDelta (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:550:73)
	at f._doInvokeHandl…
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.analysisSetPriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:283556)
	at g.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32428)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31221
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:30966)
	at g.updatePriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32260)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31794
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:625:348
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at p.$acceptDocumentsAndEditorsDelta (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:550:73)
	at f._doInvokeHandl…
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:17] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:22] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.analysisGetHover (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:282813)
	at c.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:243660)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:243415
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:243160)
	at c.provideHover (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:243594)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:562:479
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:52:363
	at new Promise (<anonymous>)
	at Object.t.asPromise (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:52:335)
	at x.provideHover (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:562:450)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostPr…
[16:54:23] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:23] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:24] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:24] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:54:25] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:58:05] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetFixes (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:285177)
	at t.FixCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:428072)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427606
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427351)
	at t.FixCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:427912)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\…
[16:58:05] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.editGetAssists (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:284900)
	at t.AssistCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390374)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389913
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:389658)
	at t.AssistCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:390215)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433211
	at Array.map (<anonymous>)
	at t.RankingCodeActionProvider.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:433202)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432651
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:432396)
	at t.RankingCodeActionProvider.provideCodeActions (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\o…
[16:58:09] [General] [Error] Cannot call write after a stream was destroyed
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at doWrite (_stream_writable.js:413:19)
	at writeOrBuffer (_stream_writable.js:401:5)
	at Socket.Writable.write (_stream_writable.js:301:11)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43601)
	at l.sendMessage (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:38875)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43409
	at new Promise (<anonymous>)
	at l.sendRequest (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:43221)
	at l.analysisSetPriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:283556)
	at g.<anonymous> (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32428)
	at Generator.next (<anonymous>)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31221
	at new Promise (<anonymous>)
	at r (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:30966)
	at g.updatePriorityFiles (c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:32260)
	at c:\Users\escam\.vscode\extensions\dart-code.dart-code-3.6.0\out\dist\extension.js:1:31794
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:625:348
	at l.fire (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:47:207)
	at p.$acceptDocumentsAndEditorsDelta (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:550:73)
	at f._doInvokeHandl…

Thanks for reporting this issue! This was previously reported at https://github.com/dart-lang/sdk/issues/38636; please follow along there.

Duplicate of https://github.com/dart-lang/sdk/issues/38636

authors: escamoteur srawlins


text:
Flutter hot reload on certain files crashes Dart compiler

Description
I ran into a situation where a Flutter app would build and run without any issues until hot reloading certain files that were changed.
First discovered when migrating the Flutter Gallery to make use of state restoration: https://github.com/flutter/gallery/pull/389.
This also only happens upon hot reload involves changed Dart files containing the class that extends RestorableListenable. The sample app only has one Dart file, but in the gallery app, this is more apparent since changes to files that do not contain the extended RestorableListenable class do not trigger the crash.
This issue was originally discovered while migrating the Reply and Shrine mini apps to use state restoration, both of which use state management packages (provider and scoped_model).
Steps to Reproduce
Reproducible sample: https://github.com/shihaohong/state_restoration_provider_crash
Steps to reproduce:

Run the Flutter application
Make any changes to the code containing the _RestorableCounterState class in the IDE (ie. adding spaces after a line of code) and save
Hot Reload and the Dart compiler crashes

Stack trace:
Unhandled exception:
root::package:hot_reload_crash/main.dart::_RestorableCounterState::@methods::package:flutter/src/widgets/restoration.dart::_debugAssertNotDisposed is already bound
#0      CanonicalName.bindTo (package:kernel/canonical_name.dart:192:7)
#1      Class.computeCanonicalNames (package:kernel/ast.dart:1201:51)
#2      Library.computeCanonicalNames (package:kernel/ast.dart:559:14)
#3      Component.computeCanonicalNamesForLibrary (package:kernel/ast.dart:10821:13)
#4      Component.computeCanonicalNames (package:kernel/ast.dart:10783:7)
#5      sortComponent (package:vm/kernel_front_end.dart:679:13)

#6      FrontendCompiler.writeDillFile (package:frontend_server/frontend_server.dart:656:5)
#7      FrontendCompiler.recompileDelta (package:frontend_server/frontend_server.dart:766:13)

/cc @johnniwinther @jensjoha

I guess this is the same issue as https://github.com/flutter/flutter/issues/72700, right?

It is -- I filed an issue both here and there because at the time I wasn't sure if it was a Dart or Flutter issue

I can't reproduce. What version (commit) of flutter did this happen on?

I can't reproduce. What version (commit) of flutter did this happen on?

Scratch that. When I said flutter run it did a web-version (which does other things with mixins) and it didn't reproduce. Specifying linux and I can reproduce (I suppose android/ios would also 'work' (i.e. crash)). I'll investigate!

Scratch that. When I said flutter run it did a web-version (which does other things with mixins) and it didn't reproduce. Specifying linux and I can reproduce (I suppose android/ios would also 'work' (i.e. crash)). I'll investigate!

source: gharchive/issue

authors: jensjoha johnniwinther mkustermann shihaohong

repo: dart-lang/sdk

license_type: permissive

license_source: github-api


text:
Implement Enhanced Enums feature in the CFE

This issue is for implementing https://github.com/dart-lang/language/issues/158 in the CFE and referencing it in the related CLs.
See https://github.com/dart-lang/sdk/issues/47849 for the main tracking issue.

@chloestefantsova - did you mean this to be a general 'implement enhanced enums' issue, or just specific to the CFE? I started https://github.com/dart-lang/sdk/issues/47849 but then saw this issue.

@chloestefantsova - did you mean this to be a general 'implement enhanced enums' issue, or just specific to the CFE? I started #47849 but then saw this issue.

I meant this as the CFE specific one, so the two issues are in agreement with each other 🙂

This is considered implemented.

authors: chloestefantsova devoncarew


text:
[analyzer] Request textDocument/codeAction failed

I noticed that when switching git branches outside of VSCode, the analyzer doesn't re-analyze the code at times.
I did use an external tool (Sourcetree) to do git commands (pull, rebase, checkout, etc.)
Example:

I open Sourcetree, checkout dev
I open the project code in VSCode
I open the file foo.dart which has a class Foo and realize it needs a new method
I go back to Sourcetree (while leaving VSCode open in the background)
checkout new branch feature
I go back to VScode
I implement the new method, use it elsewhere and commit my changes
I switch back over to Sourcetree (while leaving VSCode open in the background)
I checkout dev (doesn't matter if I actually did any git commands)
I checkout feature again
I switch back over to VScode
The analyzer reports an error about the new method not existing
I go to the implementation file
The analyzer catches up and error goes away

I did get the following error while doing the above steps.
[Error - 9:59:40 AM] Request textDocument/codeAction failed.
  Message: An error occurred while handling textDocument/codeAction request
  Code: -32001
[Error - 9:59:40 AM] An error occurred while handling textDocument/codeAction request: RangeError (index): Invalid value: Not in inclusive range 0..3: 4
#0      List.[] (dart:core-patch/growable_array.dart:281:36)
#1      ElementWalker.getFunction (package:analyzer/src/generated/declaration_resolver.dart:171:18)
#2      ResolutionVisitor.visitMethodDeclaration (package:analyzer/src/dart/resolver/resolution_visitor.dart:827:27)
#3      MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:7177:50)
#4      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7813:20)
#5      ResolutionVisitor.visitClassDeclaration.<anonymous closure>.<anonymous closure> (package:analyzer/src/dart/resolver/resolution_visitor.dart:246:22)
#6      ResolutionVisitor._withNameScope (package:analyzer/src/dart/resolver/resolution_visitor.dart:1409:8)
#7      ResolutionVisitor.visitClassDeclaration.<anonymous closure> (package:analyzer/src/dart/resolver/resolution_visitor.dart:227:7)
#8      ResolutionVisitor._withElementWalker (package:analyzer/src/dart/resolver/resolution_visitor.dart:1398:8)
#9      ResolutionVisitor.visitClassDeclaration (package:analyzer/src/dart/resolver/resolution_visitor.dart:226:5)
#10     ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1494:50)
#11     NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7813:20)
#12     CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2105:21)
#13     RecursiveAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:765:10)
#14     CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2098:50)
#15     LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:742:10)
#16     LibraryAnalyzer.analyze.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:138:7)
#17     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:539:8)
#18     LibraryAnalyzer.analyze (package:analyzer/src/dart/analysis/library_analyzer.dart:137:11)
#19     AnalysisDriver._computeResolvedLibrary.<anonymous closure> (package:analyzer/src/dart/analysis/driver.dart:1527:65)
#20     PerformanceLog.run (package:analyzer/src/dart/analysis/performance_logger.dart:32:15)
#21     AnalysisDriver._computeResolvedLibrary (package:analyzer/src/dart/analysis/driver.dart:1514:20)
#22     AnalysisDriver.performWork (package:analyzer/src/dart/analysis/driver.dart:1085:22)
#23     AnalysisDriverScheduler._run (package:analyzer/src/dart/analysis/driver.dart:2137:24)
<asynchronous suspension>

Dart SDK version: 2.16.1 (stable) (Tue Feb 8 12:02:33 2022 +0100) on "macos_x64"
Dart Code v3.36.0

I assume the IDE controls the analyzer server, not the other way around.

@scheglov @DanTup

I was not able to reproduce this issue with IntelliJ.
I was changing a class in a file, and its test in another file.
There were no changes to any configuration files, such as pubspec.yaml, only 2 Dart files.
IntelliJ was in background, I switched git branches from command line.
The server was reporting Watch events in the instrumentation log instantly, for both files.

@scheglov A colleague of mine uses IntelliJ and we work on the same codebase. I could ask if he experienced the same issue. If he can't reproduce it, it's probably a VSCode bug? (DartCode or IDE related)

I cannot say that this is a Dart Code or VS Code bug, because whatever commands they send, this should not result in such exception in the server. But it might be that a way Dart Code talks to the server that happens in a way that we failed to anticipate and make it right.

According to my colleague he never had any issues switching branches and such on IntelliJ. So either this is a VSCode bug or a Sourcetree bug. I think it's the latter, as it's not the first time Sourcetree gave me issues. I'll try switching over to a different external program. If the issue persists when I switched, then we might need to take a deeper look at it.

@navaronbracke can you reliably reproduce this? If you can make an example project and exact steps it might be easier to track down. Whatever VS Code and/or SourceTree or doing shouldn't really lead to this sort of exception, so even if it seems to only occur with one specific tool, it would be good to track down.

@DanTup I haven't had issues with switching branches for a long while. I never managed to reproduce it back-to-back.
I did get the occasional textDocument failure on other things, but those were nearly not as disruptive. Usually just a warning pop-up in VSCode and the analyzer recovers without any problems.
Honestly, I forgot about it after the issue seemed to vanish on my end.
Currently running with Version: 1.70.0 (Universal) | DartCode v3.46.1

Thanks. I'll close this if the original issue is gone, although I am still interested in errors/stack traces/logs if you still see these types of errors for other actions. Most types of failed requests generally shouldn't break the server, although it would be useful to know about them to see if they can be handled better.

authors: DanTup asashour bwilkerson navaronbracke scheglov


text:
[inline class]  Internal problem: Unhandled member in exportScope

See https://github.com/kevmoo/dart_frog/tree/inline_class_hacks

in packages/dart_frog
Run either

dart --enable-experiment=inline-class example/main.dart
dart --enable-experiment=inline-class test

Crash when compiling:
lib/src/pipeline.dart:7:14: Internal problem: Unhandled member in exportScope.
inline class Pipeline {
             ^

#0      internalProblem (package:front_end/src/fasta/problems.dart:52:5)
#1      unhandled (package:front_end/src/fasta/problems.dart:71:10)
#2      SourceLibraryBuilder.addImportsToScope (package:front_end/src/fasta/source/source_library_builder.dart:1483:15)
#3      SourceLoader.computeLibraryScopes (package:front_end/src/fasta/source/source_loader.dart:1476:23)
#4      KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:426:14)
#5      withCrashReporting (package:front_end/src/fasta/crash.dart:136:24)
#6      KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:409:12)
#7      _buildInternal (package:front_end/src/kernel_generator_impl.dart:143:26)
#8      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:111:14)
<asynchronous suspension>
#9      withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#10     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:48:12)
<asynchronous suspension>
#11     generateKernel (package:front_end/src/kernel_generator_impl.dart:47:10)
<asynchronous suspension>
#12     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:100:11)
<asynchronous suspension>
#13     SingleShotCompilerWrapper.compileInternal (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:407:11)
<asynchronous suspension>
#14     Compiler.compile.<anonymous closure> (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:215:45)
<asynchronous suspension>
#15     _processLoadRequest (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:889:37)
<asynchronous suspension>

Dart SDK version: 3.0.0-263.0.dev (dev) (Tue Feb 21 17:59:38 2023 -0800) on "macos_arm64"

A minimal case:
a.dart:
export 'b.dart';

void main() {}

b.dart:
part 'c.dart';

c.dart:
inline class C {

  final int i;

  C(this.i);
}

https://dart-review.googlesource.com/c/sdk/+/285262

@asashour – FYI – I patched in that fix and see
 ~/github/dart/sdk/xcodebuild/ReleaseARM64/dart-sdk/bin/dart --enable-experiment=inline-class example/main.dart
Crash when compiling file:///Users/kevmoo/github/dart_frog/packages/dart_frog/lib/src/pipeline.dart at character offset 222:
Null check operator used on a null value

#0      BodyBuilder.lookupConstructor (package:front_end/src/fasta/kernel/body_builder.dart:3137:30)
#1      ThisAccessGenerator.buildConstructorInitializer (package:front_end/src/fasta/kernel/expression_generator.dart:4597:17)
#2      ThisAccessGenerator.buildSelectorAccess (package:front_end/src/fasta/kernel/expression_generator.dart:4495:14)
#3      InvocationSelector.withReceiver (package:front_end/src/fasta/kernel/expression_generator.dart:4912:23)
#4      BodyBuilder.doDotOrCascadeExpression (package:front_end/src/fasta/kernel/body_builder.dart:2937:17)
#5      BodyBuilder.endBinaryExpression (package:front_end/src/fasta/kernel/body_builder.dart:2689:7)
#6      Listener.handleEndingBinaryExpression (package:_fe_analyzer_shared/src/parser/listener.dart:1635:5)
#7      Parser._parsePrecedenceExpressionLoop (package:_fe_analyzer_shared/src/parser/parser_impl.dart:5784:22)
#8      Parser.parsePrecedenceExpression (package:_fe_analyzer_shared/src/parser/parser_impl.dart:5673:12)
#9      Parser.parseExpression (package:_fe_analyzer_shared/src/parser/parser_impl.dart:5589:15)
#10     Parser.parseInitializerExpressionRest (package:_fe_analyzer_shared/src/parser/parser_impl.dart:3997:13)
#11     Parser.parseInitializer (package:_fe_analyzer_shared/src/parser/parser_impl.dart:3891:17)
#12     Parser.parseInitializers (package:_fe_analyzer_shared/src/parser/parser_impl.dart:3805:15)
#13     Parser.parseInitializersOpt (package:_fe_analyzer_shared/src/parser/parser_impl.dart:3784:14)
#14     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:1109:22)
#15     DietListener._endClassMethod (package:front_end/src/fasta/source/diet_listener.dart:751:5)
#16     DietListener.endClassConstructor (package:front_end/src/fasta/source/diet_listener.dart:698:5)
#17     Parser.parseMethod (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4802:20)
#18     Parser.parseClassOrMixinOrExtensionOrEnumMemberImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4551:15)
#19     Parser.parseClassOrMixinOrExtensionBody (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4196:15)
#20     Parser.parseClass (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2646:13)
#21     Parser.parseClassOrNamedMixinApplication (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2604:14)
#22     Parser._handleModifiersForClassDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:784:12)
#23     Parser.parseTopLevelKeywordDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:647:14)
#24     Parser.parseTopLevelDeclarationImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:595:14)
#25     Parser.parseUnit (package:_fe_analyzer_shared/src/parser/parser_impl.dart:405:15)
#26     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:1278:16)
<asynchronous suspension>
#27     SourceLoader.buildBodies (package:front_end/src/fasta/source/source_loader.dart:676:7)
<asynchronous suspension>
#28     KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:611:7)
<asynchronous suspension>
#29     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#30     _buildInternal (package:front_end/src/kernel_generator_impl.dart:206:19)
<asynchronous suspension>
#31     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#32     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:48:12)
<asynchronous suspension>
#33     generateKernel (package:front_end/src/kernel_generator_impl.dart:47:10)
<asynchronous suspension>
#34     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:100:11)
<asynchronous suspension>
#35     SingleShotCompilerWrapper.compileInternal (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:407:11)
<asynchronous suspension>
#36     Compiler.compile.<anonymous closure> (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:215:45)
<asynchronous suspension>
#37     _processLoadRequest (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:889:37)
<asynchronous suspension>

Thanks for your feedback.
The proposed CL currently contains a fix for the first issue, but you are right, there are more things needed.
The current reason is because InlineClass doesn't yet handle constructors.
https://github.com/dart-lang/sdk/blob/ba1d8bdbc0e15c46af258345b4440c0953045904/pkg/front_end/lib/src/fasta/source/source_inline_class_builder.dart#L270

@kevmoo I think this have been fixed now. Please file a new issue if you still see problems.

Still crashing. You want a new issue, right?
3.1.0-146.0.dev (dev) (Thu May 25 03:04:23 2023 -0700) on "macos_arm64"
Crash when formatting: [InternalProblemUnhandled] Unhandled InlineClassMemberKind.Constructor in _findDirectInlineClassMember.
RangeError (offset): Invalid value: Not in inclusive range 0..560: 2773
#0      RangeError.checkValueInInterval (dart:core/errors.dart:313:7)
#1      Source.getLocation (package:kernel/ast.dart:15346:16)
#2      getLocation (package:front_end/src/fasta/messages.dart:17:52)
#3      format (package:front_end/src/fasta/command_line_reporting.dart:91:43)
#4      CompilerContext.format (package:front_end/src/fasta/compiler_context.dart:79:35)
#5      internalProblem (package:front_end/src/fasta/problems.dart:53:10)
#6      unhandled (package:front_end/src/fasta/problems.dart:71:10)
#7      InferenceVisitorBase._findDirectInlineTypeMember (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1062:13)
#8      _ObjectAccessDescriptor._findNonExtensionTargetInternal (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:4818:44)
#9      _ObjectAccessDescriptor.findNonExtensionTarget (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:4763:12)
#10     InferenceVisitorBase.findInterfaceMember (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1367:32)
#11     InferenceVisitorImpl._computePropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:6702:20)
#12     InferenceVisitorImpl.visitPropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:7716:61)
#13     PropertyGet.acceptInference (package:front_end/src/fasta/kernel/internal_ast.dart:3252:20)
#14     InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:258:27)
#15     InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:295:40)
#16     InferenceVisitorBase._inferInvocation.inferArgument (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1904:22)
#17     InferenceVisitorBase._inferInvocation (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1968:44)
#18     InferenceVisitorBase.inferInvocation (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1658:12)
#19     InferenceVisitorImpl.visitStaticInvocation (package:front_end/src/fasta/type_inference/inference_visitor.dart:8111:40)
#20     StaticInvocation.accept1 (package:kernel/ast.dart:7050:9)
#21     InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:260:27)
#22     InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:295:40)
#23     InferenceVisitorImpl.visitReturnStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:7938:11)
#24     ReturnStatement.accept (package:kernel/ast.dart:10829:43)
#25     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:238:26)
#26     InferenceVisitorImpl._visitStatements (package:front_end/src/fasta/type_inference/inference_visitor.dart:848:50)
#27     InferenceVisitorImpl.visitBlock (package:front_end/src/fasta/type_inference/inference_visitor.dart:869:31)
#28     Block.accept (package:kernel/ast.dart:9788:43)
#29     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:238:26)
#30     TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:202:17)
#31     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:1263:43)
#32     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:1137:19)
#33     DietListener._endClassMethod (package:front_end/src/fasta/source/diet_listener.dart:765:5)
#34     DietListener.endClassMethod (package:front_end/src/fasta/source/diet_listener.dart:705:5)
#35     Parser.parseMethod (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4915:20)
#36     Parser.parseClassOrMixinOrExtensionOrEnumMemberImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4632:15)
#37     Parser.parseClassOrMixinOrExtensionBody (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4249:15)
#38     Parser.parseClass (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2685:13)
#39     Parser.parseClassOrNamedMixinApplication (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2643:14)
#40     Parser._handleModifiersForClassDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:823:12)
#41     Parser.parseTopLevelKeywordDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:663:14)
#42     Parser.parseTopLevelDeclarationImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:611:14)
#43     Parser.parseUnit (package:_fe_analyzer_shared/src/parser/parser_impl.dart:414:15)
#44     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:1277:16)
<asynchronous suspension>
#45     SourceLoader.buildBodies (package:front_end/src/fasta/source/source_loader.dart:672:7)
<asynchronous suspension>
#46     KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:609:7)
<asynchronous suspension>
#47     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#48     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:590:12)
<asynchronous suspension>
#49     _buildInternal (package:front_end/src/kernel_generator_impl.dart:208:19)
<asynchronous suspension>
#50     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#51     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:49:12)
<asynchronous suspension>
#52     generateKernel (package:front_end/src/kernel_generator_impl.dart:48:10)
<asynchronous suspension>
#53     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:100:11)
<asynchronous suspension>
#54     SingleShotCompilerWrapper.compileInternal (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:407:11)
<asynchronous suspension>
#55     Compiler.compile.<anonymous closure> (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:215:45)
<asynchronous suspension>
#56     _processLoadRequest (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:889:37)
<asynchronous suspension>

Crash when compiling file:///Users/kevmoo/github/dart_frog/packages/dart_frog/lib/src/response.dart at character offset 2707:
Crash when compiling file:///Users/kevmoo/github/dart_frog/packages/dart_frog/lib/src/_internal.dart at character offset 2773:
RangeError (offset): Invalid value: Not in inclusive range 0..560: 2773

#0      format (package:front_end/src/fasta/command_line_reporting.dart:113:5)
#1      CompilerContext.format (package:front_end/src/fasta/compiler_context.dart:79:35)
#2      internalProblem (package:front_end/src/fasta/problems.dart:53:10)
#3      unhandled (package:front_end/src/fasta/problems.dart:71:10)
#4      InferenceVisitorBase._findDirectInlineTypeMember (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1062:13)
#5      _ObjectAccessDescriptor._findNonExtensionTargetInternal (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:4818:44)
#6      _ObjectAccessDescriptor.findNonExtensionTarget (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:4763:12)
#7      InferenceVisitorBase.findInterfaceMember (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1367:32)
#8      InferenceVisitorImpl._computePropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:6702:20)
#9      InferenceVisitorImpl.visitPropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:7716:61)
#10     PropertyGet.acceptInference (package:front_end/src/fasta/kernel/internal_ast.dart:3252:20)
#11     InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:258:27)
#12     InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:295:40)
#13     InferenceVisitorBase._inferInvocation.inferArgument (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1904:22)
#14     InferenceVisitorBase._inferInvocation (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1968:44)
#15     InferenceVisitorBase.inferInvocation (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1658:12)
#16     InferenceVisitorImpl.visitStaticInvocation (package:front_end/src/fasta/type_inference/inference_visitor.dart:8111:40)
#17     StaticInvocation.accept1 (package:kernel/ast.dart:7050:9)
#18     InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:260:27)
#19     InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:295:40)
#20     InferenceVisitorImpl.visitReturnStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:7938:11)
#21     ReturnStatement.accept (package:kernel/ast.dart:10829:43)
#22     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:238:26)
#23     InferenceVisitorImpl._visitStatements (package:front_end/src/fasta/type_inference/inference_visitor.dart:848:50)
#24     InferenceVisitorImpl.visitBlock (package:front_end/src/fasta/type_inference/inference_visitor.dart:869:31)
#25     Block.accept (package:kernel/ast.dart:9788:43)
#26     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:238:26)
#27     TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:202:17)
#28     BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:1263:43)
#29     DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:1137:19)
#30     DietListener._endClassMethod (package:front_end/src/fasta/source/diet_listener.dart:765:5)
#31     DietListener.endClassMethod (package:front_end/src/fasta/source/diet_listener.dart:705:5)
#32     Parser.parseMethod (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4915:20)
#33     Parser.parseClassOrMixinOrExtensionOrEnumMemberImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4632:15)
#34     Parser.parseClassOrMixinOrExtensionBody (package:_fe_analyzer_shared/src/parser/parser_impl.dart:4249:15)
#35     Parser.parseClass (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2685:13)
#36     Parser.parseClassOrNamedMixinApplication (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2643:14)
#37     Parser._handleModifiersForClassDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:823:12)
#38     Parser.parseTopLevelKeywordDeclaration (package:_fe_analyzer_shared/src/parser/parser_impl.dart:663:14)
#39     Parser.parseTopLevelDeclarationImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:611:14)
#40     Parser.parseUnit (package:_fe_analyzer_shared/src/parser/parser_impl.dart:414:15)
#41     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:1277:16)
<asynchronous suspension>
#42     SourceLoader.buildBodies (package:front_end/src/fasta/source/source_loader.dart:672:7)
<asynchronous suspension>
#43     KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:609:7)
<asynchronous suspension>
#44     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#45     KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:590:12)
<asynchronous suspension>
#46     _buildInternal (package:front_end/src/kernel_generator_impl.dart:208:19)
<asynchronous suspension>
#47     withCrashReporting (package:front_end/src/fasta/crash.dart:136:12)
<asynchronous suspension>
#48     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:49:12)
<asynchronous suspension>
#49     generateKernel (package:front_end/src/kernel_generator_impl.dart:48:10)
<asynchronous suspension>
#50     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:100:11)
<asynchronous suspension>
#51     SingleShotCompilerWrapper.compileInternal (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:407:11)
<asynchronous suspension>
#52     Compiler.compile.<anonymous closure> (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:215:45)
<asynchronous suspension>
#53     _processLoadRequest (org-dartlang-kernel-service:///pkg/vm/bin/kernel_service.dart:889:37)
<asynchronous suspension>

@kevmoo It is new failure, so yes, create a new issue.

authors: asashour johnniwinther kevmoo


text:
Failures on [ dart test ] Improve help message when running dart test with no package:test dependency

There are new test failures on [ dart test ] Improve help message when running dart test with no package:test dependency.
The tests
pkg/dartdev/test/commands/test_test RuntimeError (expected Pass)

are failing on configurations
unittest-asserts-debug-linux
unittest-asserts-release-mac
unittest-asserts-release-mac-arm64

Example log:
https://dart-ci.appspot.com/log/pkg-mac-release/unittest-asserts-release-mac/25108/pkg/dartdev/test/commands/test_test
/cc @bkonyi

Already resolved by https://dart-review.googlesource.com/c/sdk/+/288920.

authors: alexmarkov bkonyi


text:
Failures on [vm] Add support for hash-based caches in SubtypeNTestCache stubs.

There are new test failures on [vm] Add support for hash-based caches in SubtypeNTestCache stubs..
The tests
vm/dart/regress_48523_test Timeout (expected Pass)

are failing on configurations
vm-reload-linux-debug-x64

Bisected locally. Goes from 1 minute to over 4 minutes for this test.
edit: repro command: tools/test.py --build -n vm-reload-linux-debug-x64 vm/dart/regress_48523_test

06e099884b46f23761b6ce351384aee6df204a97 still times out for me.
I have approved the failure. Could you please take a look at it @sstrickl ?

Will do, thanks for the heads up!

authors: dcharkes sstrickl


text:
Feature Request: Add --insert-ignore-comments flag to dart fix command for existing code

This tracker is for issues related to:

Dart analyzer and linter

Description
As the language grows, we often introduce new lint rules to maintain and improve code quality. However, introducing new lint rules to large existing codebases can be challenging, especially when the rules are not auto-fixable. A common approach is to simply ignore the new lint rules for existing, working code and focus on ensuring the new code adheres to these rules.
Currently, this process requires developers to manually add ignore comments to existing code or write custom scripts to automate this task.
To streamline this process, a new --insert-ignore-comments flag can be added to dart fix command. This flag will allow developers to focus on improving new code without the immediate need to refactor legacy code.
I have created a quick (functional but with errors after it adds comments) prototype to demonstrate this idea. In case this is something that the Dart team agrees could be a valid feature, I'd love to contribute. I would love to learn the thoughts and opinions of the Dart team.

This "fix" should probably only apply for lints that don't have an automatic fix.

This "fix" should probably only apply for lints that don't have an automatic fix.

Yep, agreed. That was the intention behind the proposal. I have updated the description to mention that this flag will only apply to lint rules that do not have an automatic fix.

authors: ishchhabra lrhn


text:
New assist - inline if with outer else

Could we add the option to join inner if with else:
if (a) {
} else {
  if (b) {
  } else if (c) {
  }
}

Could become:
if (a) {
} else if (b) {
} else if (c) {
}

Originally posted by @FMorschel in https://github.com/dart-lang/sdk/issues/56715#issuecomment-2424405227
I made a CL https://dart-review.googlesource.com/c/sdk/+/391021

Look useful to me!

authors: FMorschel scheglov


text:
How to change the date language in the footer?

How do I change the date language at the footer?

add your language in yaac-another-awesome-cv.cls at the babel include; Then use \setlanguage{LANGUAGE} before \today

repo: darwiin/yaac-another-awesome-cv


text:
Code for generating GIFs

Hey dashee87,
I was wondering if you have the code to generate the images and/or the gifs on your github for the clustering blog post (which by the way is excellent).

me, too.How to draw thoese awesome GIFs by python?

authors: ChinaYiqun mGalarnyk

license: mit

license_source: bigquery


text:
Sync with upstream

This synchronizes our fork with the upstream version and should update the IIFE version to have the latest changes.
Breaking changes to be aware of:

No longer exist:

Secp256k1.utils._normalizePrivateKey
Secp256k1.utils._bigintTo32Bytes
Secp256k1.utils.mod
Secp256k1.Point.BASE.multiplyAndAddUnsafe

Updated to use:

Secp256k1.utils.normPrivateKeyToScalar
Secp256k1.etc.numberToBytesBE
Secp256k1.etc.mod
Secp256k1.ProjectivePoint.BASE.mulAddQUns

Now exports ProjectivePoint instead of Point, although I included both in our IIFE wrapper.

Since this is a major version change and major breaking change, and it's tracking a different repo, I think it makes more sense to save the current main as v1 and overwrite main with this v2 direct from the source repo, with a single commit overlaying the changes.
I think I can do that...

@coolaj86  That is more or less what this is doing just with tweaks to package.json & github workflow scripts.

@jojobyte Do we still need to maintain a fork with the new version? Or will it work without our modifications now?

source: gharchive/pull-request

license: MIT


text:
Fix broken project labels

Labels on the project only returns an empty array. The reason is the API no longer has labels directly on the project response. A separate call to projects/{project_id}/labels needs to happen.
https://www.pivotaltracker.com/help/api/rest/v5#Labels
If you view the project response, you will see that labels is no longer part of it.
https://www.pivotaltracker.com/help/api/rest/v5#Project

@wdhays2 if you want the labels to be returned with the project in one request you need to include it in the fields list since it isn't returned by default.
This will return the project with an array of full label objects in one request.
client.project(project_id, fields: ':default,labels')

This will return the project with an array of label object with just the name in one request.
client.project(project_id, fields: ':default,labels(name)')

This test passes with the current code.
  describe '.labels' do
    let(:project_with_labels) do
      VCR.use_cassette('get project with labels') do
        client.project(project_id, fields: ':default,labels')
      end
    end

    it 'gets all labels for this project' do
      VCR.use_cassette('get labels', record: :new_episodes) do
        labels = project_with_labels.labels

        labels.wont_be_empty
        label = labels.first
        label.must_be_instance_of TrackerApi::Resources::Label
      end
    end
  end

I think you can just update your new labels and 'label_ids` accessors to only make the extra request if the labels don't already exist.

See Story#tasks for an example.
https://github.com/dashofcode/tracker_api/blob/master/lib/tracker_api/resources/story.rb#L63-63

I'll merge this in and make the required changes.

@wdhays2 I had to do a bunch of refactoring so ending up just pulling in some of your code to support lazy loading of project labels.
See: https://github.com/dashofcode/tracker_api/pull/48 and https://github.com/dashofcode/tracker_api/commit/c65ed4c1fc81c7a73842e09e381e84ea9a8b982e
I'm going to close this pull now.


text:
Remove direct dependency on Oj for use with jruby

Change to depend on the multi_json gem instead of Oj so that the tracker_api can
be used as part of jruby as well. The multi_json gem will default to using Oj if
it is available anyway.

Thanks for the improvement.

authors: cbascom forest


text:
dash testnet coins

where do we get them?  Can I mine them from my testnet installation?

my dash testnet address: yMSyPMRVMqQXVdg78XQM1E8R3hMk5dsCN1

repo: dashpay/dash


text:
chore: update assumevalid for v18.2.0

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Hasn't been
Breaking Changes

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

These changes should either:
A) go into v18.2.x branch first and should be brought into develop via "merge master into develop" PR after v18.2 release
or
B) be dropped from #5127 and re-added to 18.2.x as a backport of this PR (after merge)
which way do you prefer?

B. They'll be dropped / backported once merged to develop


text:
feat: allow manipulation of CoinJoin salt using RPC

Motivation
CoinJoin utilizes a salt to randomize the number of rounds used in a mixing session (introduced in dash#3661). This was done to frustrate attempts at deobfuscating CoinJoin mixing transactions but also has the effect of deciding the mixing threshold at which a denomination is considered "sufficiently mixed", which in turn is tied this salt, that is in turn, tied to the wallet.
With wallets that utilized keypool generation, this was perfectly acceptable as each key was unrelated to the other and any meaningful attempts to backup/restore a wallet would entail backing up the entire wallet database, which includes the salt. Meaning, on restore, the wallet would show CoinJoin balances as reported earlier.
With the default activation of HD wallets in legacy wallets (and the introduction of descriptor wallets that construct HD wallets by default), addresses are deterministically generated and backups no longer require a backup of the wallet database wholesale.
Users who export their mnemonic and import them into a new wallet will find themselves with a different reported CoinJoin balance (see below).
https://github.com/dashpay/dash/assets/63189531/dccf1b17-55af-423d-8c36-adea6163e060
Demo
Based on c00a3665
https://github.com/dashpay/dash/assets/63189531/c60c10e3-e414-46af-a64e-60605a4e6d07
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

Let's split it in 3 separate PRs:

cj salt manipulation
make coinjoin a composite command
fixing getcoinjoininfo for descriptor wallets

Marking as draft until #6110 is merged

could you add a functional test for coinjoinsalt?

Will do in a follow-up

@kwvg I just realized, there's no functional tests for it. Our linter complains about it:
$ test/functional/test_runner.py -j20  --previous-releases --coverage --extended\
.....
Uncovered RPC commands:
  - cleardiscouraged
  - coinjoinsalt <-------
  - debug
  - getblockheaders
  - getmerkleblocks
  - getpoolinfo
  - voteraw

See also https://github.com/dashpay/dash-issues/issues/63

authors: UdjinM6 knst kwvg