diff --git a/src/__tests__/fixtures/e2e-file.ts b/src/__tests__/fixtures/e2e-file.ts index 574f2e6..22970cf 100644 --- a/src/__tests__/fixtures/e2e-file.ts +++ b/src/__tests__/fixtures/e2e-file.ts @@ -113,15 +113,12 @@ pub fn test9() let vec2 = VecGeneric { x: 7.5, y: 2.5, z: 3.5 } vec2.x -// Test generic object inheritance strictness +// Test generics with sibling object types fn generic_get_member(vec: T) vec.get_member() -// Ensure generic instances of an ancestor aren't used in place of a descendant, should return 12 +// Ensure generic functions with sibling types are called correctly pub fn test10() - // let vec = Vec { x: 7, y: 2} - // generic_get_member(vec) - let point = Point { x: 12, y: 17, z: 4 } generic_get_member(point)