Differentiate method/tymethod by determining 'defaultness'

Currently a method only has defaultness if it is a provided trait
method, but this will change when specialisation is available and may
need to become a concept known to hir.

I opted to go for a 'fewest changes' approach given specialisation is
still under development.
This commit is contained in:
Zac Pullar-Strecker 2020-09-03 19:55:24 +12:00
parent 62b76e7004
commit c648884397
7 changed files with 31 additions and 9 deletions

View file

@ -425,7 +425,7 @@ export function openDocs(ctx: Ctx): Cmd {
const client = ctx.client;
const editor = vscode.window.activeTextEditor;
if (!editor || !client) {
return
return;
};
const position = editor.selection.active;