Skip to content

Fix Event<T> argument#20

Open
terurou wants to merge 1 commit intovshaxe:masterfrom
DenkiYagi:fix-event
Open

Fix Event<T> argument#20
terurou wants to merge 1 commit intovshaxe:masterfrom
DenkiYagi:fix-event

Conversation

@terurou
Copy link
Contributor

@terurou terurou commented Jun 29, 2025

This PR fixes a compile error in the following code:

import vscode.ExtensionContext;
import vscode.ViewColumn;

function activate(context:ExtensionContext) {
	final panel = Vscode.window.createWebviewPanel("viewtype", "title", ViewColumn.Active);
	panel.onDidDispose(
            _ -> {},
            null,
            context.subscriptions // <- type error
	);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant