dotnet / dotnet/vblang

[Proposal] Apply infer option to field member or apply it as new option.

Open
#515 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

I'm not sure anyone suggest this topic but I think infer field member should be apply, any reason it apply to local variant should be use with initialized field member.

Befor.
```vb
Public Shared DInvoke As Func(Of Int32, Int32, Int32, Int32, Int32, Int32, Int32) = Friendly.DInvoke

Friend Shared Copy_block_byte As Action(Of UIntPtr, UIntPtr, uint) = "la.1.0.2 cpyb".compile(Of Action(Of UIntPtr, UIntPtr, uint)).fin
```

After
```vb
Public Shared DInvoke = Friendly.DInvoke

Friend Shared Copy_block_byte = "la.1.0.2 cpyb".compile(Of Action(Of UIntPtr, UIntPtr, uint)).fin
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.