Fixed error detection
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-02-02 05:44:09 +01:00
parent 29148cd42b
commit 7a449c73cc
3 changed files with 23 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
import { Identity, Pipe, Tuples } from "hotscript"
import { Implements, TraitAbstractMembers, expression, trait } from "."
@@ -51,17 +52,14 @@ class TestSuperclass {
const builder = expression
.extends(TestSuperclass)
.expresses(
// PrintsHelloOnNew,
PrintsHelloOnNew,
Identifiable<bigint>(),
// Identifiable<number>(),
)
type Impl = Implements<typeof builder.expression>
const exp = builder.get()
class User extends exp.extends() implements (typeof exp.implements) {
class User extends exp.extends implements (typeof exp.implements) {
// id: bigint = -1n
}