-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug
Milestone
Description
Describe the bug
While working in a null safe dart project, if you start to type out a member from a class like fooClass., the intellisense popup does not display the null postfix operator:

Notice the type is LiveForexQuote.
But hovering over the member, then the correct type (nullable) is shown:

To Reproduce
Steps to reproduce the behavior:
- Create a nullable variable in a class
- Start typing to dereference that nullable class member
- Intellisense won't show the null postfix operator.
Expected behavior
Should show the null postfix operator like when you hover over it after typing it in.
Versions (please complete the following information):
Version: 1.53.0-exploration
Commit: 0c9e2dadd986d0bc085f1c5352245531eef65e84
Date: 2021-01-07T06:28:46.730Z (1 mo ago)
Electron: 11.1.0
Chrome: 87.0.4280.88
Node.js: 12.18.3
V8: 8.7.220.29-electron.0
OS: Darwin arm64 20.2.0
Dart code: 3.20.0
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris bug