[DAS] Fixes primary constructor body completion
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
case FieldDeclaration():This is probably where https://github.com/dart-lang/sdk/issues/63931 needs to be fixed.
_suggestParameter(declaredElement);This looks wrong. It looks like we will suggest both the field and the parameter when it's a field formal parameter. But only one name is visible in any given scope, so we should have logic here to determine which it is.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
_suggestParameter(declaredElement);FMorschelThis looks wrong. It looks like we will suggest both the field and the parameter when it's a field formal parameter. But only one name is visible in any given scope, so we should have logic here to determine which it is.
Oh, thanks! It would hide it because of the name clash, but yes, I was missing an `else` here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[DAS] Fixes primary constructor body completion
Fixes: https://github.com/dart-lang/sdk/issues/63950
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |