Open
Description
import { python } from "https://deno.land/x/[email protected]/mod.ts";
const gi = python.import("gi");
gi.require_version("Gtk", "4.0");
const Gtk = python.import("gi.repository.Gtk");
class MainWindow extends Gtk.ApplicationWindow {
constructor() {
super();
this.a = 4; // error here
}
}
console.log(new MainWindow());
error: Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'a'
this.a = 4;
^
at new MainWindow (file:///home/mrcool/dev/deno/lab/b.ts:10:11)
at file:///home/mrcool/dev/deno/lab/b.ts:14:13
more info here #53 (comment)