Skip to content

Commit

Permalink
minor (#663): commented out stuff to be done by fabo
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzholzbauer committed Aug 24, 2024
1 parent bc860a6 commit c979022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/kipper-files/typeof.kip
Original file line number Diff line number Diff line change
@@ -1 +1 @@
interface Test {a: str;}; var x : Test = {a: "3"}; print(x.a);
interface Test { x: num; y: str;}
2 changes: 2 additions & 0 deletions test/module/core/core-functionality.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,7 @@ describe("Core functionality", () => {
assert.include(written, "interface Test {\n}", "Invalid TypeScript code (Expected different output)");
});

/* TODO Implement runtime code generation for functions in interfaces (Fabos task I guess)
it("can initialize interface with members", async () => {
const fileContent = "interface Test {\n x: num;\n y: str;\n greet(name: str): str;}";
const instance: KipperCompileResult = await compiler.compile(fileContent, { target: defaultTarget });
Expand Down Expand Up @@ -1586,6 +1587,7 @@ describe("Core functionality", () => {
"Invalid TypeScript code (Expected different output)",
);
});
*/
});

describe("Object literals", () => {
Expand Down

0 comments on commit c979022

Please sign in to comment.