aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorZac Pullar-Strecker <[email protected]>2020-09-03 08:55:24 +0100
committerZac Pullar-Strecker <[email protected]>2020-10-08 03:04:21 +0100
commitc648884397bfdb779c447fa31964dc1fce94bd95 (patch)
tree276467ffe91360d31f285ce04bf16c0753c61a10 /editors/code/src
parent62b76e7004bc215a375e41bd204b2eab5acdf9c2 (diff)
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.
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/commands.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 24c2e196d..1445e41d3 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -425,7 +425,7 @@ export function openDocs(ctx: Ctx): Cmd {
425 const client = ctx.client; 425 const client = ctx.client;
426 const editor = vscode.window.activeTextEditor; 426 const editor = vscode.window.activeTextEditor;
427 if (!editor || !client) { 427 if (!editor || !client) {
428 return 428 return;
429 }; 429 };
430 430
431 const position = editor.selection.active; 431 const position = editor.selection.active;