Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(go): support direct implementation of jsii interfaces #2614

Merged
merged 14 commits into from
Mar 3, 2021
Merged
Prev Previous commit
Next Next commit
fix typo in comment
RomainMuller authored Mar 1, 2021
commit aa99d6cf193f606635458e44b87833ba9185e53c
2 changes: 1 addition & 1 deletion packages/@jsii/go-runtime/jsii-runtime-go/kernel/client.go
Original file line number Diff line number Diff line change
@@ -114,7 +114,7 @@ func (c *client) FindObjectRef(obj reflect.Value) (string, bool) {
case reflect.Interface, reflect.Ptr:
return c.objects.InstanceID(obj)
default:
// Ohter types cannot possibly be object references!
// Other types cannot possibly be object references!
return "", false
}
}