Merge pull request #1162 from aiken-lang/lsp-pub-and-pluck-quickfixes
Lsp pub and pluck quickfixes
Lsp pub and pluck quickfixes
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Also improved the error message when detecting a leaking type through an aliased type. Now display both the alias and the source type, for clarity. Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Do not warn about unused constructors when already warning about unused type.
Signed-off-by: KtorZ <[email protected]>
Do not mark imported types as _unused_ when used only as namespace in patterns.
Lsp quickfixes renamed imports
When a module is declared as: ``` use foo as renamed ``` We would otherwise wrongly suggest to _import Foo from foo_, instead of correctly suggesting to _import Foo from renamed_. This commit fixes it. Signed-off-by: KtorZ <[email protected]>
For example, trying to use quickfix _import Foo from foo_ in a module that looks like: ```aiken use foo.{Bar} as renamed ``` would result in: ```aiken use foo.{Bar} as renamed.{Foo} ``` instead of: ```aiken use foo.{Bar, Foo} as renamed ``` This is now fixed, although only tested manually since we don't have any good ways of automatically testing the LSP quickfixes... Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Also improved the error message when detecting a leaking type through an aliased type. Now display both the alias and the source type, for clarity. Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: KtorZ <[email protected]>
Signed-off-by: yHSJ <[email protected]>
New `--property-coverage` flag to the `check` command
For switching the coverage denominator between the number of iterations and the total number of labels. Signed-off-by: KtorZ <[email protected]>