From 4fd596a467cdb422ebea3fdf01d068bc360b3757 Mon Sep 17 00:00:00 2001 From: Vinayak Kukreja <78971045+vinayak-kukreja@users.noreply.github.com> Date: Tue, 9 May 2023 07:06:59 -0700 Subject: [PATCH] fix(pacmak): go docs overview displays repeating description (#4081) Our `go docs` have been broken since jsii `v1.65.0`. This was due to moving to emitting one file per type and headers being added to all those files: [Impacting PR](https://github.com/aws/jsii/pull/3698/files#diff-0a99c713a1282d6efe349c932d74dbfbdf1d926834c46ebfb5d65daeb27073f3R263) The first occurrence was in [docs for cdk v2.39.0](https://pkg.go.dev/github.com/aws/aws-cdk-go/awscdk/v2@v2.39.0) and is still present in the [latest version](https://pkg.go.dev/github.com/aws/aws-cdk-go/awscdk/v2). The header being added is `Version 2 of the AWS Cloud Development Kit library` to multiple files. It's determining this value from the [package.json](https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/package.json#L4) file of `aws-cdk-lib`. I see adding this is most relevant for [maven](https://github.com/aws/jsii/blob/main/packages/jsii-reflect/lib/assembly.ts#L46-L52), hence removing it from `go` since I do not believe it's bringing much value to our documentation. Let me know if you feel otherwise :) --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- packages/codemaker/src/codemaker.ts | 8 + .../jsii-pacmak/lib/targets/go/package.ts | 13 +- .../__snapshots__/examples.test.js.snap | 14 +- .../__snapshots__/target-go.test.js.snap | 1111 +++++------------ 4 files changed, 359 insertions(+), 787 deletions(-) diff --git a/packages/codemaker/src/codemaker.ts b/packages/codemaker/src/codemaker.ts index 8d0bd703fe..f34e6aad1d 100644 --- a/packages/codemaker/src/codemaker.ts +++ b/packages/codemaker/src/codemaker.ts @@ -196,6 +196,14 @@ export class CodeMaker { return caseutils.toSnakeCase(s, sep); } + /** + * Gets currently opened file path. + * @returns Currently opened file path. + */ + public getCurrentFilePath(): string | undefined { + return this.currentFile?.filePath; + } + private makeIndent(): string { const length = this.currentIndentLength; if (length <= 0) { diff --git a/packages/jsii-pacmak/lib/targets/go/package.ts b/packages/jsii-pacmak/lib/targets/go/package.ts index b388401b65..9cb86a9d3f 100644 --- a/packages/jsii-pacmak/lib/targets/go/package.ts +++ b/packages/jsii-pacmak/lib/targets/go/package.ts @@ -37,6 +37,7 @@ import { VersionFile } from './version-file'; export const GOMOD_FILENAME = 'go.mod'; export const GO_VERSION = '1.18'; +const MAIN_FILE = 'main.go'; /* * Package represents a single `.go` source file within a package. This can be the root package file or a submodule @@ -203,10 +204,9 @@ export abstract class Package { if (this.types.length > 0) { const { code } = context; - const initFile = join(this.directory, `main.go`); + const initFile = join(this.directory, MAIN_FILE); code.openFile(initFile); - code.line(`package ${this.packageName}`); - code.line(); + this.emitHeader(code); importGoModules(code, [GO_REFLECT, JSII_RT_MODULE]); code.line(); code.openBlock('func init()'); @@ -470,7 +470,12 @@ export class RootPackage extends Package { } protected emitHeader(code: CodeMaker) { - if (this.assembly.description !== '') { + const currentFilePath = code.getCurrentFilePath(); + if ( + this.assembly.description !== '' && + currentFilePath !== undefined && + currentFilePath.includes(MAIN_FILE) + ) { code.line(`// ${this.assembly.description}`); } code.line(`package ${this.packageName}`); diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap index 237c125cc2..48665fce29 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap @@ -382,7 +382,6 @@ namespace Example.Test.Demo.Internal.DependencyResolution `; exports[`diamond-struct-parameter.ts: /go/testpkg/Baz.go 1`] = ` -// testpkg package testpkg @@ -396,7 +395,6 @@ type Baz struct { `; exports[`diamond-struct-parameter.ts: /go/testpkg/Consumer.go 1`] = ` -// testpkg package testpkg import ( @@ -431,7 +429,6 @@ func Consumer_ConsumeBaz(baz *Baz) { exports[`diamond-struct-parameter.ts: /go/testpkg/Consumer__checks.go 1`] = ` //go:build !no_runtime_type_checking -// testpkg package testpkg import ( @@ -457,7 +454,6 @@ func validateConsumer_ConsumeBazParameters(baz *Baz) error { exports[`diamond-struct-parameter.ts: /go/testpkg/Consumer__no_checks.go 1`] = ` //go:build no_runtime_type_checking -// testpkg package testpkg // Building without runtime type checking enabled, so all the below just return nil @@ -470,7 +466,6 @@ func validateConsumer_ConsumeBazParameters(baz *Baz) error { `; exports[`diamond-struct-parameter.ts: /go/testpkg/Foo.go 1`] = ` -// testpkg package testpkg @@ -482,7 +477,6 @@ type Foo struct { `; exports[`diamond-struct-parameter.ts: /go/testpkg/FooBar.go 1`] = ` -// testpkg package testpkg @@ -531,6 +525,7 @@ func Initialize() { `; exports[`diamond-struct-parameter.ts: /go/testpkg/main.go 1`] = ` +// testpkg package testpkg import ( @@ -1856,7 +1851,6 @@ namespace Example.Test.Demo `; exports[`nested-types.ts: /go/testpkg/Namespace1.go 1`] = ` -// testpkg package testpkg import ( @@ -1909,7 +1903,6 @@ func (n *jsiiProxy_Namespace1) Foo() { `; exports[`nested-types.ts: /go/testpkg/Namespace1_Foo.go 1`] = ` -// testpkg package testpkg @@ -1921,7 +1914,6 @@ type Namespace1_Foo struct { `; exports[`nested-types.ts: /go/testpkg/Namespace1_IBar.go 1`] = ` -// testpkg package testpkg import ( @@ -1960,7 +1952,6 @@ func (j *jsiiProxy_Namespace1_IBar) Bar() *string { `; exports[`nested-types.ts: /go/testpkg/Namespace2.go 1`] = ` -// testpkg package testpkg import ( @@ -2013,7 +2004,6 @@ func (n *jsiiProxy_Namespace2) Foo() { `; exports[`nested-types.ts: /go/testpkg/Namespace2_Foo.go 1`] = ` -// testpkg package testpkg @@ -2028,7 +2018,6 @@ const ( `; exports[`nested-types.ts: /go/testpkg/Namespace2_Foo_Final.go 1`] = ` -// testpkg package testpkg import ( @@ -2120,6 +2109,7 @@ func Initialize() { `; exports[`nested-types.ts: /go/testpkg/main.go 1`] = ` +// testpkg package testpkg import ( diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap index e0ee5d1573..d42a223526 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap @@ -21,7 +21,6 @@ exports[`Generated code for "@scope/jsii-calc-base": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/Base.go 1`] = ` -// An example direct dependency for jsii-calc. package jcb import ( @@ -67,7 +66,6 @@ func (b *jsiiProxy_Base) TypeName() interface{} { `; exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/BaseProps.go 1`] = ` -// An example direct dependency for jsii-calc. package jcb import ( @@ -83,7 +81,6 @@ type BaseProps struct { `; exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/IBaseInterface.go 1`] = ` -// An example direct dependency for jsii-calc. package jcb import ( @@ -326,7 +323,6 @@ Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. `; exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/StaticConsumer.go 1`] = ` -// An example direct dependency for jsii-calc. package jcb import ( @@ -439,6 +435,7 @@ func Initialize() { exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/jsii/scope-jsii-calc-base-0.0.0.tgz 1`] = `go/jcb/jsii/scope-jsii-calc-base-0.0.0.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base": /go/jcb/main.go 1`] = ` +// An example direct dependency for jsii-calc. package jcb import ( @@ -516,7 +513,6 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/IVeryBaseInterface.go 1`] = ` -// An example transitive dependency for jsii-calc. package scopejsiicalcbaseofbase import ( @@ -755,7 +751,6 @@ Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/StaticConsumer.go 1`] = ` -// An example transitive dependency for jsii-calc. package scopejsiicalcbaseofbase import ( @@ -790,7 +785,6 @@ func StaticConsumer_Consume(_args ...interface{}) { `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/Very.go 1`] = ` -// An example transitive dependency for jsii-calc. package scopejsiicalcbaseofbase import ( @@ -853,7 +847,6 @@ func (v *jsiiProxy_Very) Hey() *float64 { `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/VeryBaseProps.go 1`] = ` -// An example transitive dependency for jsii-calc. package scopejsiicalcbaseofbase @@ -903,6 +896,7 @@ func Initialize() { exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/jsii/scope-jsii-calc-base-of-base-2.1.1.tgz 1`] = `go/scopejsiicalcbaseofbase/jsii/scope-jsii-calc-base-of-base-2.1.1.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base-of-base": /go/scopejsiicalcbaseofbase/main.go 1`] = ` +// An example transitive dependency for jsii-calc. package scopejsiicalcbaseofbase import ( @@ -1000,7 +994,6 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/BaseFor2647.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1067,7 +1060,6 @@ func (b *jsiiProxy_BaseFor2647) Foo(obj jcb.IBaseInterface) { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/DiamondLeft.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib @@ -1083,7 +1075,6 @@ type DiamondLeft struct { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/DiamondRight.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib @@ -1099,7 +1090,6 @@ type DiamondRight struct { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/EnumFromScopedModule.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib @@ -1120,7 +1110,6 @@ const ( `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/IDoublable.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1153,7 +1142,6 @@ func (j *jsiiProxy_IDoublable) DoubleValue() *float64 { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/IFriendly.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1193,7 +1181,6 @@ func (i *jsiiProxy_IFriendly) Hello() *string { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/IThreeLevelsInterface.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1436,7 +1423,6 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/MyFirstStruct.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib @@ -1463,7 +1449,6 @@ Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/Number.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1575,7 +1560,6 @@ func (n *jsiiProxy_Number) TypeName() interface{} { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/NumericValue.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1658,7 +1642,6 @@ func (n *jsiiProxy_NumericValue) TypeName() interface{} { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/Operation.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -1738,7 +1721,6 @@ func (o *jsiiProxy_Operation) TypeName() interface{} { `; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/StructWithOnlyOptionals.go 1`] = ` -// A simple calcuator library built on JSII. package scopejsiicalclib @@ -2179,6 +2161,7 @@ func Initialize() { exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/jsii/scope-jsii-calc-lib-0.0.0.tgz 1`] = `go/scopejsiicalclib/jsii/scope-jsii-calc-lib-0.0.0.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/main.go 1`] = ` +// A simple calcuator library built on JSII. package scopejsiicalclib import ( @@ -2328,7 +2311,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1 exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/BaseFor2647.go.diff 1`] = ` --- go/scopejsiicalclib/BaseFor2647.go --no-runtime-type-checking +++ go/scopejsiicalclib/BaseFor2647.go --runtime-type-checking -@@ -29,10 +29,13 @@ +@@ -28,10 +28,13 @@ // Deprecated. func NewBaseFor2647(very scopejsiicalcbaseofbase.Very) BaseFor2647 { @@ -2342,7 +2325,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go _jsii_.Create( "@scope/jsii-calc-lib.BaseFor2647", []interface{}{very}, -@@ -52,10 +55,13 @@ +@@ -51,10 +54,13 @@ b, ) } @@ -2361,10 +2344,9 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/BaseFor2647__checks.go.diff 1`] = ` --- go/scopejsiicalclib/BaseFor2647__checks.go --no-runtime-type-checking +++ go/scopejsiicalclib/BaseFor2647__checks.go --runtime-type-checking -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator library built on JSII. +package scopejsiicalclib + +import ( @@ -2395,10 +2377,9 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/BaseFor2647__no_checks.go.diff 1`] = ` --- go/scopejsiicalclib/BaseFor2647__no_checks.go --no-runtime-type-checking +++ go/scopejsiicalclib/BaseFor2647__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator library built on JSII. +package scopejsiicalclib + +// Building without runtime type checking enabled, so all the below just return nil @@ -2416,7 +2397,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/Number.go.diff 1`] = ` --- go/scopejsiicalclib/Number.go --no-runtime-type-checking +++ go/scopejsiicalclib/Number.go --runtime-type-checking -@@ -55,10 +55,13 @@ +@@ -54,10 +54,13 @@ // Creates a Number object. // Deprecated. func NewNumber(value *float64) Number { @@ -2435,10 +2416,9 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/Number__checks.go.diff 1`] = ` --- go/scopejsiicalclib/Number__checks.go --no-runtime-type-checking +++ go/scopejsiicalclib/Number__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator library built on JSII. +package scopejsiicalclib + +import ( @@ -2458,10 +2438,9 @@ exports[`Generated code for "@scope/jsii-calc-lib": /go exports[`Generated code for "@scope/jsii-calc-lib": /go/scopejsiicalclib/Number__no_checks.go.diff 1`] = ` --- go/scopejsiicalclib/Number__no_checks.go --no-runtime-type-checking +++ go/scopejsiicalclib/Number__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator library built on JSII. +package scopejsiicalclib + +// Building without runtime type checking enabled, so all the below just return nil @@ -2932,7 +2911,6 @@ exports[`Generated code for "jsii-calc": / 1`] = ` `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3016,7 +2994,6 @@ func (a *jsiiProxy_AbstractClass) NonAbstractMethod() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClassBase.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3058,7 +3035,6 @@ func NewAbstractClassBase_Override(a AbstractClassBase) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClassReturner.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3142,7 +3118,6 @@ func (a *jsiiProxy_AbstractClassReturner) GiveMeInterface() IInterfaceImplemente `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractSuite.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3223,7 +3198,6 @@ func (a *jsiiProxy_AbstractSuite) WorkItAll(seed *string) *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Add.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3355,7 +3329,6 @@ func (a *jsiiProxy_Add) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AllTypes.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3816,7 +3789,6 @@ func (a *jsiiProxy_AllTypes) EnumMethod(value StringEnum) StringEnum { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AllTypesEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -3832,7 +3804,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AllowedMethodNames.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3919,7 +3890,6 @@ func (a *jsiiProxy_AllowedMethodNames) SetFoo(_x *string, _y *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AmbiguousParameters.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -3986,7 +3956,6 @@ func NewAmbiguousParameters_Override(a AmbiguousParameters, scope Bell, props *S `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AnonymousImplementationProvider.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4059,7 +4028,6 @@ func (a *jsiiProxy_AnonymousImplementationProvider) ProvideAsInterface() IAnonym `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AsyncVirtualMethods.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4193,7 +4161,6 @@ func (a *jsiiProxy_AsyncVirtualMethods) OverrideMeToo() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/AugmentableClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4255,7 +4222,6 @@ func (a *jsiiProxy_AugmentableClass) MethodTwo() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/BaseClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4311,7 +4277,6 @@ func (b *jsiiProxy_BaseClass) Method() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/BaseJsii976.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4355,7 +4320,6 @@ func NewBaseJsii976_Override(b BaseJsii976) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Bell.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4430,7 +4394,6 @@ func (b *jsiiProxy_Bell) Ring() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/BinaryOperation.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4552,7 +4515,6 @@ func (b *jsiiProxy_BinaryOperation) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/BurriedAnonymousObject.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4614,7 +4576,6 @@ func (b *jsiiProxy_BurriedAnonymousObject) GiveItBack(value interface{}) interfa `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Calculator.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -4944,7 +4905,6 @@ func (c *jsiiProxy_Calculator) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/CalculatorProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -4962,7 +4922,6 @@ type CalculatorProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ChildStruct982.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -4975,7 +4934,6 @@ type ChildStruct982 struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsTheInternalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5101,7 +5059,6 @@ func (j *jsiiProxy_ClassThatImplementsTheInternalInterface)SetD(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsThePrivateInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5227,7 +5184,6 @@ func (j *jsiiProxy_ClassThatImplementsThePrivateInterface)SetE(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollectionOfUnions.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5292,7 +5248,6 @@ func (j *jsiiProxy_ClassWithCollectionOfUnions)SetUnionProperty(val *[]*map[stri `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollections.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5447,7 +5402,6 @@ func ClassWithCollections_SetStaticMap(val *map[string]*string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithContainerTypes.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5536,7 +5490,6 @@ func NewClassWithContainerTypes_Override(c ClassWithContainerTypes, array *[]*Du `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithDocs.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5590,7 +5543,6 @@ func NewClassWithDocs_Override(c ClassWithDocs) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithJavaReservedWords.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5660,7 +5612,6 @@ func (c *jsiiProxy_ClassWithJavaReservedWords) Import(assert *string) *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithMutableObjectLiteralProperty.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5725,7 +5676,6 @@ func (j *jsiiProxy_ClassWithMutableObjectLiteralProperty)SetMutableObject(val IM `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithNestedUnion.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5790,7 +5740,6 @@ func (j *jsiiProxy_ClassWithNestedUnion)SetUnionProperty(val *[]interface{}) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5859,7 +5808,6 @@ func ClassWithPrivateConstructorAndAutomaticProperties_Create(readOnlyString *st `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConfusingToJackson.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5933,7 +5881,6 @@ func ConfusingToJackson_MakeStructInstance() *ConfusingToJacksonStruct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConfusingToJacksonStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -5945,7 +5892,6 @@ type ConfusingToJacksonStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConstructorPassesThisOut.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -5989,7 +5935,6 @@ func NewConstructorPassesThisOut_Override(c ConstructorPassesThisOut, consumer P `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Constructors.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6138,7 +6083,6 @@ func Constructors_MakeInterfaces() *[]IPublicInterface { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumePureInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6196,7 +6140,6 @@ func (c *jsiiProxy_ConsumePureInterface) WorkItBaby() *StructB { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumerCanRingBell.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6384,7 +6327,6 @@ func (c *jsiiProxy_ConsumerCanRingBell) WhenTypedAsClass(ringer IConcreteBellRin `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumersOfThisCrazyTypeSystem.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6456,7 +6398,6 @@ func (c *jsiiProxy_ConsumersOfThisCrazyTypeSystem) ConsumeNonInternalInterface(o `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ContainerProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6470,7 +6411,6 @@ type ContainerProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DataRenderer.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6559,7 +6499,6 @@ func (d *jsiiProxy_DataRenderer) RenderMap(map_ *map[string]interface{}) *string `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Default.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6615,7 +6554,6 @@ func (d *jsiiProxy_Default) PleaseCompile() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DefaultedConstructorArgument.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6695,7 +6633,6 @@ func NewDefaultedConstructorArgument_Override(d DefaultedConstructorArgument, ar `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Demonstrate982.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6775,7 +6712,6 @@ func Demonstrate982_TakeThisToo() *ParentStruct982 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6867,7 +6803,6 @@ func (d *jsiiProxy_DeprecatedClass) Method() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6885,7 +6820,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6899,7 +6833,6 @@ type DeprecatedStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DerivedStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6932,7 +6865,6 @@ type DerivedStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DiamondBottom.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -6953,7 +6885,6 @@ type DiamondBottom struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DiamondInheritanceBaseLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6965,7 +6896,6 @@ type DiamondInheritanceBaseLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DiamondInheritanceFirstMidLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6978,7 +6908,6 @@ type DiamondInheritanceFirstMidLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DiamondInheritanceSecondMidLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -6991,7 +6920,6 @@ type DiamondInheritanceSecondMidLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DiamondInheritanceTopLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -7006,7 +6934,6 @@ type DiamondInheritanceTopLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DisappointingCollectionSource.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7051,7 +6978,6 @@ func DisappointingCollectionSource_MaybeMap() *map[string]*float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotOverridePrivates.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7132,7 +7058,6 @@ func (d *jsiiProxy_DoNotOverridePrivates) PrivatePropertyValue() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotRecognizeAnyAsOptional.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7186,7 +7111,6 @@ func (d *jsiiProxy_DoNotRecognizeAnyAsOptional) Method(_requiredAny interface{}, `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DocumentedClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7276,7 +7200,6 @@ func (d *jsiiProxy_DocumentedClass) Hola() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DontComplainAboutVariadicAfterOptional.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7339,7 +7262,6 @@ func (d *jsiiProxy_DontComplainAboutVariadicAfterOptional) OptionalAndVariadic(o `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DoubleTrouble.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7414,7 +7336,6 @@ func (d *jsiiProxy_DoubleTrouble) Next() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DummyObj.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -7426,7 +7347,6 @@ type DummyObj struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearer.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7512,7 +7432,6 @@ func (j *jsiiProxy_DynamicPropertyBearer)SetValueStore(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearerChild.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7626,7 +7545,6 @@ func (d *jsiiProxy_DynamicPropertyBearerChild) OverrideValue(newValue *string) * `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Entropy.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7692,7 +7610,6 @@ func (e *jsiiProxy_Entropy) Repeat(word *string) *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/EnumDispenser.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7742,7 +7659,6 @@ func EnumDispenser_RandomStringLikeEnum() StringEnum { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/EraseUndefinedHashValues.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7837,7 +7753,6 @@ func EraseUndefinedHashValues_Prop2IsUndefined() *map[string]interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/EraseUndefinedHashValuesOptions.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -7850,7 +7765,6 @@ type EraseUndefinedHashValuesOptions struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -7942,7 +7856,6 @@ func (e *jsiiProxy_ExperimentalClass) Method() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -7960,7 +7873,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -7974,7 +7886,6 @@ type ExperimentalStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExportedBaseClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8030,7 +7941,6 @@ func NewExportedBaseClass_Override(e ExportedBaseClass, success *bool) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExtendsInternalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -8043,7 +7953,6 @@ type ExtendsInternalInterface struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8128,7 +8037,6 @@ func (e *jsiiProxy_ExternalClass) Method() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -8143,7 +8051,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -8155,7 +8062,6 @@ type ExternalStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/FullCombo.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8203,7 +8109,6 @@ func (f *jsiiProxy_FullCombo) Method() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/GiveMeStructs.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8306,7 +8211,6 @@ func (g *jsiiProxy_GiveMeStructs) ReadFirstNumber(first *scopejsiicalclib.MyFirs `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Greetee.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -8320,7 +8224,6 @@ type Greetee struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/GreetingAugmenter.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8380,7 +8283,6 @@ func (g *jsiiProxy_GreetingAugmenter) BetterGreeting(friendly scopejsiicalclib.I `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnonymousImplementationProvider.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8428,7 +8330,6 @@ func (i *jsiiProxy_IAnonymousImplementationProvider) ProvideAsInterface() IAnony `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnonymouslyImplementMe.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8472,7 +8373,6 @@ func (j *jsiiProxy_IAnonymouslyImplementMe) Value() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnotherPublicInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8511,7 +8411,6 @@ func (j *jsiiProxy_IAnotherPublicInterface)SetA(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IBell.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8539,7 +8438,6 @@ func (i *jsiiProxy_IBell) Ring() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IBellRinger.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8568,7 +8466,6 @@ func (i *jsiiProxy_IBellRinger) YourTurn(bell IBell) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IConcreteBellRinger.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8597,7 +8494,6 @@ func (i *jsiiProxy_IConcreteBellRinger) YourTurn(bell Bell) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IDeprecatedInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8649,7 +8545,6 @@ func (j *jsiiProxy_IDeprecatedInterface)SetMutableProperty(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IExperimentalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8701,7 +8596,6 @@ func (j *jsiiProxy_IExperimentalInterface)SetMutableProperty(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IExtendsPrivateInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8751,7 +8645,6 @@ func (j *jsiiProxy_IExtendsPrivateInterface)SetPrivate(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IExternalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8799,7 +8692,6 @@ func (j *jsiiProxy_IExternalInterface)SetMutableProperty(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IFriendlier.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8855,7 +8747,6 @@ func (i *jsiiProxy_IFriendlier) Goodbye() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IFriendlyRandomGenerator.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8906,7 +8797,6 @@ func (i *jsiiProxy_IFriendlyRandomGenerator) Next() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IIndirectlyImplemented.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8950,7 +8840,6 @@ func (j *jsiiProxy_IIndirectlyImplemented) Property() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceImplementedByAbstractClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -8981,7 +8870,6 @@ func (j *jsiiProxy_IInterfaceImplementedByAbstractClass) PropFromInterface() *st `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceThatShouldNotBeADataType.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9013,7 +8901,6 @@ func (j *jsiiProxy_IInterfaceThatShouldNotBeADataType) OtherValue() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithInternal.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9041,7 +8928,6 @@ func (i *jsiiProxy_IInterfaceWithInternal) Visible() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithMethods.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9080,7 +8966,6 @@ func (j *jsiiProxy_IInterfaceWithMethods) Value() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithOptionalMethodArguments.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9109,7 +8994,6 @@ func (i *jsiiProxy_IInterfaceWithOptionalMethodArguments) Hello(arg1 *string, ar `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithProperties.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9159,7 +9043,6 @@ func (j *jsiiProxy_IInterfaceWithProperties)SetReadWriteString(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithPropertiesExtension.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9199,7 +9082,6 @@ func (j *jsiiProxy_IInterfaceWithPropertiesExtension)SetFoo(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJSII417Derived.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9248,7 +9130,6 @@ func (j *jsiiProxy_IJSII417Derived) Property() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJSII417PublicBaseOfBase.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9287,7 +9168,6 @@ func (j *jsiiProxy_IJSII417PublicBaseOfBase) HasRoot() *bool { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJavaReservedWordsInAnInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9776,7 +9656,6 @@ func (j *jsiiProxy_IJavaReservedWordsInAnInterface) While() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJsii487External.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -9792,7 +9671,6 @@ type jsiiProxy_IJsii487External struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJsii487External2.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -9808,7 +9686,6 @@ type jsiiProxy_IJsii487External2 struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IJsii496.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -9824,7 +9701,6 @@ type jsiiProxy_IJsii496 struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IMutableObjectLiteral.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9863,7 +9739,6 @@ func (j *jsiiProxy_IMutableObjectLiteral)SetValue(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/INonInternalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9923,7 +9798,6 @@ func (j *jsiiProxy_INonInternalInterface)SetC(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IObjectWithProperty.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -9977,7 +9851,6 @@ func (j *jsiiProxy_IObjectWithProperty)SetProperty(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IOptionalMethod.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10011,7 +9884,6 @@ func (i *jsiiProxy_IOptionalMethod) Optional() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IPrivatelyImplemented.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10041,7 +9913,6 @@ func (j *jsiiProxy_IPrivatelyImplemented) Success() *bool { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IPublicInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10074,7 +9945,6 @@ func (i *jsiiProxy_IPublicInterface) Bye() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IPublicInterface2.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10107,7 +9977,6 @@ func (i *jsiiProxy_IPublicInterface2) Ciao() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IRandomNumberGenerator.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10144,7 +10013,6 @@ func (i *jsiiProxy_IRandomNumberGenerator) Next() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IReturnJsii976.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10175,7 +10043,6 @@ func (j *jsiiProxy_IReturnJsii976) Foo() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IReturnsNumber.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10221,7 +10088,6 @@ func (j *jsiiProxy_IReturnsNumber) NumberProp() scopejsiicalclib.Number { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IStableInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10269,7 +10135,6 @@ func (j *jsiiProxy_IStableInterface)SetMutableProperty(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IStructReturningDelegate.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10303,7 +10168,6 @@ func (i *jsiiProxy_IStructReturningDelegate) ReturnStruct() *StructB { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/IWallClock.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10338,7 +10202,6 @@ func (i *jsiiProxy_IWallClock) Iso8601Now() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementInternalInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10403,7 +10266,6 @@ func (j *jsiiProxy_ImplementInternalInterface)SetProp(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Implementation.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10459,7 +10321,6 @@ func NewImplementation_Override(i Implementation) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsInterfaceWithInternal.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10513,7 +10374,6 @@ func (i *jsiiProxy_ImplementsInterfaceWithInternal) Visible() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsInterfaceWithInternalSubclass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10567,7 +10427,6 @@ func (i *jsiiProxy_ImplementsInterfaceWithInternalSubclass) Visible() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsPrivateInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10632,7 +10491,6 @@ func (j *jsiiProxy_ImplementsPrivateInterface)SetPrivate(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplictBaseOfBase.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10651,7 +10509,6 @@ type ImplictBaseOfBase struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/InbetweenClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10721,7 +10578,6 @@ func (i *jsiiProxy_InbetweenClass) Hello() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/InterfaceCollections.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10804,7 +10660,6 @@ func InterfaceCollections_MapOfStructs() *map[string]*StructA { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/InterfacesMaker.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10842,7 +10697,6 @@ func InterfacesMaker_MakeInterfaces(count *float64) *[]scopejsiicalclib.IDoublab `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Isomorphism.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10890,7 +10744,6 @@ func (i *jsiiProxy_Isomorphism) Myself() Isomorphism { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Issue2638.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10943,7 +10796,6 @@ func NewIssue2638_Override(i Issue2638) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Issue2638B.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -10987,7 +10839,6 @@ func NewIssue2638B_Override(i Issue2638B) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JSII417Derived.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11097,7 +10948,6 @@ func (j *jsiiProxy_JSII417Derived) Foo() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JSII417PublicBaseOfBase.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11177,7 +11027,6 @@ func (j *jsiiProxy_JSII417PublicBaseOfBase) Foo() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralForInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11251,7 +11100,6 @@ func (j *jsiiProxy_JSObjectLiteralForInterface) GiveMeFriendlyGenerator() IFrien `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralToNative.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11309,7 +11157,6 @@ func (j *jsiiProxy_JSObjectLiteralToNative) ReturnLiteral() JSObjectLiteralToNat `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralToNativeClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11394,7 +11241,6 @@ func (j *jsiiProxy_JSObjectLiteralToNativeClass)SetPropB(val *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JavaReservedWords.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11927,7 +11773,6 @@ func (j *jsiiProxy_JavaReservedWords) Volatile() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Jsii487Derived.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -11974,7 +11819,6 @@ func NewJsii487Derived_Override(j Jsii487Derived) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Jsii496Derived.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12019,7 +11863,6 @@ func NewJsii496Derived_Override(j Jsii496Derived) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JsiiAgent.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12075,7 +11918,6 @@ func JsiiAgent_Value() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/JsonFormatter.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12513,7 +12355,6 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/LICENSE 1`] = ` `; exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12570,7 +12411,6 @@ func NewLevelOne_Override(l LevelOne, props *LevelOneProps) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne_PropBooleanValue.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -12582,7 +12422,6 @@ type LevelOne_PropBooleanValue struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne_PropProperty.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -12594,7 +12433,6 @@ type LevelOne_PropProperty struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOneProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -12606,7 +12444,6 @@ type LevelOneProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/LoadBalancedFargateServiceProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -12654,7 +12491,6 @@ type LoadBalancedFargateServiceProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/MethodNamedProperty.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12724,7 +12560,6 @@ func (m *jsiiProxy_MethodNamedProperty) Property() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Multiply.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -12911,7 +12746,6 @@ Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Negate.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13060,7 +12894,6 @@ func (n *jsiiProxy_Negate) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NestedClassInstance.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13097,7 +12930,6 @@ func NestedClassInstance_MakeInstance() customsubmodulename.NestingClass_NestedC `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NestedStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -13110,7 +12942,6 @@ type NestedStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NodeStandardLibrary.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13219,7 +13050,6 @@ func (n *jsiiProxy_NodeStandardLibrary) FsReadFileSync() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NullShouldBeTreatedAsUndefined.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13312,7 +13142,6 @@ func (n *jsiiProxy_NullShouldBeTreatedAsUndefined) VerifyPropertyIsUndefined() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NullShouldBeTreatedAsUndefinedData.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -13325,7 +13154,6 @@ type NullShouldBeTreatedAsUndefinedData struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/NumberGenerator.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13419,7 +13247,6 @@ func (n *jsiiProxy_NumberGenerator) NextTimes100() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ObjectRefsInCollections.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13496,7 +13323,6 @@ func (o *jsiiProxy_ObjectRefsInCollections) SumFromMap(values *map[string]scopej `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ObjectWithPropertyProvider.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13531,7 +13357,6 @@ func ObjectWithPropertyProvider_Provide() IObjectWithProperty { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Old.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13594,7 +13419,6 @@ func (o *jsiiProxy_Old) DoAThing() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalArgumentInvoker.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13656,7 +13480,6 @@ func (o *jsiiProxy_OptionalArgumentInvoker) InvokeWithoutOptional() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalConstructorArgument.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13736,7 +13559,6 @@ func NewOptionalConstructorArgument_Override(o OptionalConstructorArgument, arg1 `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -13748,7 +13570,6 @@ type OptionalStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalStructConsumer.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13815,7 +13636,6 @@ func NewOptionalStructConsumer_Override(o OptionalStructConsumer, optionalStruct `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OverridableProtectedMember.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13930,7 +13750,6 @@ func (o *jsiiProxy_OverridableProtectedMember) ValueFromProtected() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/OverrideReturnsObject.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -13988,7 +13807,6 @@ func (o *jsiiProxy_OverrideReturnsObject) Test(obj IReturnsNumber) *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsBuiltins.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14033,7 +13851,6 @@ func NewParamShadowsBuiltins_Override(p ParamShadowsBuiltins, builtins *string, `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsBuiltinsProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -14047,7 +13864,6 @@ type ParamShadowsBuiltinsProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsScope.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14110,7 +13926,6 @@ func (p *jsiiProxy_ParamShadowsScope) UseScope(scope scopejsiicalclib.Number) sc `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ParentStruct982.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -14123,7 +13938,6 @@ type ParentStruct982 struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/PartiallyInitializedThisConsumer.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14169,7 +13983,6 @@ func (p *jsiiProxy_PartiallyInitializedThisConsumer) ConsumePartiallyInitialized `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Polymorphism.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14229,7 +14042,6 @@ func (p *jsiiProxy_Polymorphism) SayHello(friendly scopejsiicalclib.IFriendly) * `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Power.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14425,7 +14237,6 @@ func (p *jsiiProxy_Power) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/PromiseNothing.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14488,7 +14299,6 @@ func (p *jsiiProxy_PromiseNothing) InstancePromiseIt() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/PropertyNamedProperty.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14556,7 +14366,6 @@ func NewPropertyNamedProperty_Override(p PropertyNamedProperty) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/PublicClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14609,7 +14418,6 @@ func (p *jsiiProxy_PublicClass) Hello() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/PythonReservedWords.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -14969,7 +14777,6 @@ foo := "bar" `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ReferenceEnumFromScopedPackage.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15060,7 +14867,6 @@ func (r *jsiiProxy_ReferenceEnumFromScopedPackage) SaveFoo(value scopejsiicalcli `; exports[`Generated code for "jsii-calc": /go/jsiicalc/ReturnsPrivateImplementationOfInterface.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15121,7 +14927,6 @@ func NewReturnsPrivateImplementationOfInterface_Override(r ReturnsPrivateImpleme `; exports[`Generated code for "jsii-calc": /go/jsiicalc/RootStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15139,7 +14944,6 @@ type RootStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/RootStructValidator.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15169,7 +14973,6 @@ func RootStructValidator_Validate(struct_ *RootStruct) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/RuntimeTypeChecking.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15243,7 +15046,6 @@ func (r *jsiiProxy_RuntimeTypeChecking) MethodWithOptionalArguments(arg1 *float6 `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SecondLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15258,7 +15060,6 @@ type SecondLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SingleInstanceTwoTypes.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15335,7 +15136,6 @@ func (s *jsiiProxy_SingleInstanceTwoTypes) Interface2() IPublicInterface { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonInt.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15371,7 +15171,6 @@ func (s *jsiiProxy_SingletonInt) IsSingletonInt(value *float64) *bool { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonIntEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15387,7 +15186,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonString.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15423,7 +15221,6 @@ func (s *jsiiProxy_SingletonString) IsSingletonString(value *string) *bool { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonStringEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15439,7 +15236,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SmellyStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15452,7 +15248,6 @@ type SmellyStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SomeTypeJsii976.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15526,7 +15321,6 @@ func SomeTypeJsii976_ReturnReturn() IReturnJsii976 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StableClass.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15611,7 +15405,6 @@ func (s *jsiiProxy_StableClass) Method() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StableEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15626,7 +15419,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StableStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15638,7 +15430,6 @@ type StableStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticContext.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15696,7 +15487,6 @@ func StaticContext_SetStaticVariable(val *bool) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticHelloChild.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15738,7 +15528,6 @@ func StaticHelloChild_Property() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticHelloParent.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15808,7 +15597,6 @@ func StaticHelloParent_Property() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Statics.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -15978,7 +15766,6 @@ func (s *jsiiProxy_Statics) JustMethod() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StringEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -15994,7 +15781,6 @@ const ( `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StripInternal.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16059,7 +15845,6 @@ func (j *jsiiProxy_StripInternal)SetYouSeeMe(val *string) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructA.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16074,7 +15859,6 @@ type StructA struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructB.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16089,7 +15873,6 @@ type StructB struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructParameterType.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16105,7 +15888,6 @@ type StructParameterType struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructPassing.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16185,7 +15967,6 @@ func StructPassing_RoundTrip(_positional *float64, input *TopLevelStruct) *TopLe `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructUnionConsumer.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16250,7 +16031,6 @@ func StructUnionConsumer_ProvideStruct(which *string) interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructWithCollectionOfUnionts.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16262,7 +16042,6 @@ type StructWithCollectionOfUnionts struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructWithEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16277,7 +16056,6 @@ type StructWithEnum struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/StructWithJavaReservedWords.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16292,7 +16070,6 @@ type StructWithJavaReservedWords struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Sum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16483,7 +16260,6 @@ func (s *jsiiProxy_Sum) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilder.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16584,7 +16360,6 @@ func NewSupportsNiceJavaBuilder_Override(s SupportsNiceJavaBuilder, id *float64, `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilderProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -16601,7 +16376,6 @@ type SupportsNiceJavaBuilderProps struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16681,7 +16455,6 @@ func NewSupportsNiceJavaBuilderWithRequiredProps_Override(s SupportsNiceJavaBuil `; exports[`Generated code for "jsii-calc": /go/jsiicalc/SyncVirtualMethods.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -16962,7 +16735,6 @@ func (s *jsiiProxy_SyncVirtualMethods) WriteA(value *float64) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/TestStructWithEnum.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17061,7 +16833,6 @@ func (t *jsiiProxy_TestStructWithEnum) IsStringEnumB(input *StructWithEnum) *boo `; exports[`Generated code for "jsii-calc": /go/jsiicalc/Thrower.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17114,7 +16885,6 @@ func (t *jsiiProxy_Thrower) ThrowError() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/TopLevelStruct.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -17131,7 +16901,6 @@ type TopLevelStruct struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/TwoMethodsWithSimilarCapitalization.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17246,7 +17015,6 @@ func (t *jsiiProxy_TwoMethodsWithSimilarCapitalization) ToISOString() *string { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UmaskCheck.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17285,7 +17053,6 @@ func UmaskCheck_Mode() *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UnaryOperation.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17376,7 +17143,6 @@ func (u *jsiiProxy_UnaryOperation) TypeName() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UnionProperties.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc @@ -17389,7 +17155,6 @@ type UnionProperties struct { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UpcasingReflectable.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17461,7 +17226,6 @@ func UpcasingReflectable_Reflector() customsubmodulename.Reflector { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UseBundledDependency.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17519,7 +17283,6 @@ func (u *jsiiProxy_UseBundledDependency) Value() interface{} { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UseCalcBase.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17580,7 +17343,6 @@ func (u *jsiiProxy_UseCalcBase) Hello() jcb.Base { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/UsesInterfaceWithProperties.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17678,7 +17440,6 @@ func (u *jsiiProxy_UsesInterfaceWithProperties) WriteAndRead(value *string) *str `; exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicInvoker.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17741,7 +17502,6 @@ func (v *jsiiProxy_VariadicInvoker) AsArray(values ...*float64) *[]*float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicMethod.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17814,7 +17574,6 @@ func (v *jsiiProxy_VariadicMethod) AsArray(first *float64, others ...*float64) * `; exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicTypeUnion.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -17889,7 +17648,6 @@ func (j *jsiiProxy_VariadicTypeUnion)SetUnion(val *[]interface{}) { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/VirtualMethodPlayground.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -18003,7 +17761,6 @@ func (v *jsiiProxy_VirtualMethodPlayground) SumSync(count *float64) *float64 { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/VoidCallback.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -18068,7 +17825,6 @@ func (v *jsiiProxy_VoidCallback) OverrideMe() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/WithPrivatePropertyInConstructor.go 1`] = ` -// A simple calcuator built on JSII. package jsiicalc import ( @@ -19420,6 +19176,7 @@ func init() { `; exports[`Generated code for "jsii-calc": /go/jsiicalc/main.go 1`] = ` +// A simple calcuator built on JSII. package jsiicalc import ( @@ -25266,7 +25023,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClass.go.diff 1`] = ` --- go/jsiicalc/AbstractClass.go --no-runtime-type-checking +++ go/jsiicalc/AbstractClass.go --runtime-type-checking -@@ -51,10 +51,13 @@ +@@ -50,10 +50,13 @@ a, ) } @@ -25285,10 +25042,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClass__checks.go.diff 1`] = ` --- go/jsiicalc/AbstractClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/AbstractClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -25308,10 +25064,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/AbstractClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AbstractClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -25325,7 +25080,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractSuite.go.diff 1`] = ` --- go/jsiicalc/AbstractSuite.go --no-runtime-type-checking +++ go/jsiicalc/AbstractSuite.go --runtime-type-checking -@@ -40,18 +40,24 @@ +@@ -39,18 +39,24 @@ a, ) } @@ -25350,7 +25105,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A _jsii_.Invoke( a, "someMethod", -@@ -61,10 +67,13 @@ +@@ -60,10 +66,13 @@ return returns } @@ -25369,10 +25124,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractSuite__checks.go.diff 1`] = ` --- go/jsiicalc/AbstractSuite__checks.go --no-runtime-type-checking +++ go/jsiicalc/AbstractSuite__checks.go --runtime-type-checking -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -25408,10 +25162,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AbstractSuite__no_checks.go.diff 1`] = ` --- go/jsiicalc/AbstractSuite__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AbstractSuite__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -25433,7 +25186,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/Add.go.diff 1`] = ` --- go/jsiicalc/Add.go --no-runtime-type-checking +++ go/jsiicalc/Add.go --runtime-type-checking -@@ -63,10 +63,13 @@ +@@ -62,10 +62,13 @@ // Creates a BinaryOperation. func NewAdd(lhs scopejsiicalclib.NumericValue, rhs scopejsiicalclib.NumericValue) Add { @@ -25452,10 +25205,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/Add__checks.go.diff 1`] = ` --- go/jsiicalc/Add__checks.go --no-runtime-type-checking +++ go/jsiicalc/Add__checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -25481,10 +25233,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/Add__no_checks.go.diff 1`] = ` --- go/jsiicalc/Add__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Add__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -25498,7 +25249,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllTypes.go.diff 1`] = ` --- go/jsiicalc/AllTypes.go --no-runtime-type-checking +++ go/jsiicalc/AllTypes.go --runtime-type-checking -@@ -276,82 +276,112 @@ +@@ -275,82 +275,112 @@ a, ) } @@ -25611,7 +25362,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A "numberProperty", val, ) -@@ -364,66 +394,90 @@ +@@ -363,66 +393,90 @@ val, ) } @@ -25702,7 +25453,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A "anyIn", []interface{}{inp}, ) -@@ -441,10 +495,13 @@ +@@ -440,10 +494,13 @@ return returns } @@ -25721,10 +25472,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllTypes__checks.go.diff 1`] = ` --- go/jsiicalc/AllTypes__checks.go --no-runtime-type-checking +++ go/jsiicalc/AllTypes__checks.go --runtime-type-checking -@@ -0,0 +1,336 @@ +@@ -0,0 +1,335 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26063,10 +25813,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllTypes__no_checks.go.diff 1`] = ` --- go/jsiicalc/AllTypes__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AllTypes__no_checks.go --runtime-type-checking -@@ -0,0 +1,83 @@ +@@ -0,0 +1,82 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26152,7 +25901,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllowedMethodNames.go.diff 1`] = ` --- go/jsiicalc/AllowedMethodNames.go --no-runtime-type-checking +++ go/jsiicalc/AllowedMethodNames.go --runtime-type-checking -@@ -43,18 +43,24 @@ +@@ -42,18 +42,24 @@ a, ) } @@ -26177,7 +25926,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A _jsii_.Invoke( a, "getFoo", -@@ -64,18 +70,24 @@ +@@ -63,18 +69,24 @@ return returns } @@ -26207,10 +25956,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllowedMethodNames__checks.go.diff 1`] = ` --- go/jsiicalc/AllowedMethodNames__checks.go --no-runtime-type-checking +++ go/jsiicalc/AllowedMethodNames__checks.go --runtime-type-checking -@@ -0,0 +1,57 @@ +@@ -0,0 +1,56 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26270,10 +26018,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AllowedMethodNames__no_checks.go.diff 1`] = ` --- go/jsiicalc/AllowedMethodNames__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AllowedMethodNames__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26299,7 +26046,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AmbiguousParameters.go.diff 1`] = ` --- go/jsiicalc/AmbiguousParameters.go --no-runtime-type-checking +++ go/jsiicalc/AmbiguousParameters.go --runtime-type-checking -@@ -38,10 +38,13 @@ +@@ -37,10 +37,13 @@ func NewAmbiguousParameters(scope Bell, props *StructParameterType) AmbiguousParameters { @@ -26318,10 +26065,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AmbiguousParameters__checks.go.diff 1`] = ` --- go/jsiicalc/AmbiguousParameters__checks.go --no-runtime-type-checking +++ go/jsiicalc/AmbiguousParameters__checks.go --runtime-type-checking -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26350,10 +26096,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AmbiguousParameters__no_checks.go.diff 1`] = ` --- go/jsiicalc/AmbiguousParameters__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AmbiguousParameters__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26367,7 +26112,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AsyncVirtualMethods.go.diff 1`] = ` --- go/jsiicalc/AsyncVirtualMethods.go --no-runtime-type-checking +++ go/jsiicalc/AsyncVirtualMethods.go --runtime-type-checking -@@ -101,10 +101,13 @@ +@@ -100,10 +100,13 @@ return returns } @@ -26386,10 +26131,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AsyncVirtualMethods__checks.go.diff 1`] = ` --- go/jsiicalc/AsyncVirtualMethods__checks.go --no-runtime-type-checking +++ go/jsiicalc/AsyncVirtualMethods__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26409,10 +26153,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/AsyncVirtualMethods__no_checks.go.diff 1`] = ` --- go/jsiicalc/AsyncVirtualMethods__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/AsyncVirtualMethods__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26426,7 +26169,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/A exports[`Generated code for "jsii-calc": /go/jsiicalc/Bell.go.diff 1`] = ` --- go/jsiicalc/Bell.go --no-runtime-type-checking +++ go/jsiicalc/Bell.go --runtime-type-checking -@@ -52,10 +52,13 @@ +@@ -51,10 +51,13 @@ b, ) } @@ -26445,10 +26188,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/Bell__checks.go.diff 1`] = ` --- go/jsiicalc/Bell__checks.go --no-runtime-type-checking +++ go/jsiicalc/Bell__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26468,10 +26210,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/Bell__no_checks.go.diff 1`] = ` --- go/jsiicalc/Bell__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Bell__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26485,10 +26226,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/BinaryOperation__checks.go.diff 1`] = ` --- go/jsiicalc/BinaryOperation__checks.go --no-runtime-type-checking +++ go/jsiicalc/BinaryOperation__checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26514,10 +26254,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/BinaryOperation__no_checks.go.diff 1`] = ` --- go/jsiicalc/BinaryOperation__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/BinaryOperation__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26531,7 +26270,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/BurriedAnonymousObject.go.diff 1`] = ` --- go/jsiicalc/BurriedAnonymousObject.go --no-runtime-type-checking +++ go/jsiicalc/BurriedAnonymousObject.go --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -41,10 +41,13 @@ return returns } @@ -26550,10 +26289,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/BurriedAnonymousObject__checks.go.diff 1`] = ` --- go/jsiicalc/BurriedAnonymousObject__checks.go --no-runtime-type-checking +++ go/jsiicalc/BurriedAnonymousObject__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26573,10 +26311,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/BurriedAnonymousObject__no_checks.go.diff 1`] = ` --- go/jsiicalc/BurriedAnonymousObject__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/BurriedAnonymousObject__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26590,7 +26327,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/B exports[`Generated code for "jsii-calc": /go/jsiicalc/Calculator.go.diff 1`] = ` --- go/jsiicalc/Calculator.go --no-runtime-type-checking +++ go/jsiicalc/Calculator.go --runtime-type-checking -@@ -181,10 +181,13 @@ +@@ -180,10 +180,13 @@ // Creates a Calculator object. func NewCalculator(props *CalculatorProps) Calculator { @@ -26604,7 +26341,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Create( "jsii-calc.Calculator", []interface{}{props}, -@@ -204,26 +207,35 @@ +@@ -203,26 +206,35 @@ c, ) } @@ -26640,7 +26377,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C "decorationPrefixes", val, ) -@@ -236,34 +248,46 @@ +@@ -235,34 +247,46 @@ val, ) } @@ -26687,7 +26424,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C "mul", []interface{}{value}, ) -@@ -276,10 +300,13 @@ +@@ -275,10 +299,13 @@ nil, // no parameters ) } @@ -26706,10 +26443,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/Calculator__checks.go.diff 1`] = ` --- go/jsiicalc/Calculator__checks.go --no-runtime-type-checking +++ go/jsiicalc/Calculator__checks.go --runtime-type-checking -@@ -0,0 +1,95 @@ +@@ -0,0 +1,94 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26807,10 +26543,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/Calculator__no_checks.go.diff 1`] = ` --- go/jsiicalc/Calculator__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Calculator__no_checks.go --runtime-type-checking -@@ -0,0 +1,43 @@ +@@ -0,0 +1,42 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26856,7 +26591,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsTheInternalInterface.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsTheInternalInterface.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsTheInternalInterface.go --runtime-type-checking -@@ -87,34 +87,46 @@ +@@ -86,34 +86,46 @@ c, ) } @@ -26908,10 +26643,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsTheInternalInterface__checks.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsTheInternalInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsTheInternalInterface__checks.go --runtime-type-checking -@@ -0,0 +1,41 @@ +@@ -0,0 +1,40 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -26955,10 +26689,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsTheInternalInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsTheInternalInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsTheInternalInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -26984,7 +26717,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsThePrivateInterface.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsThePrivateInterface.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsThePrivateInterface.go --runtime-type-checking -@@ -87,34 +87,46 @@ +@@ -86,34 +86,46 @@ c, ) } @@ -27036,10 +26769,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsThePrivateInterface__checks.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsThePrivateInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsThePrivateInterface__checks.go --runtime-type-checking -@@ -0,0 +1,41 @@ +@@ -0,0 +1,40 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27083,10 +26815,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassThatImplementsThePrivateInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassThatImplementsThePrivateInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassThatImplementsThePrivateInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27112,7 +26843,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollectionOfUnions.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollectionOfUnions.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollectionOfUnions.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewClassWithCollectionOfUnions(unionProperty *[]*map[string]interface{}) ClassWithCollectionOfUnions { @@ -27126,7 +26857,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Create( "jsii-calc.ClassWithCollectionOfUnions", []interface{}{unionProperty}, -@@ -50,10 +53,13 @@ +@@ -49,10 +52,13 @@ c, ) } @@ -27145,10 +26876,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollectionOfUnions__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollectionOfUnions__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollectionOfUnions__checks.go --runtime-type-checking -@@ -0,0 +1,91 @@ +@@ -0,0 +1,90 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27242,10 +26972,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollectionOfUnions__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollectionOfUnions__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollectionOfUnions__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27263,7 +26992,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollections.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollections.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollections.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ func NewClassWithCollections(map_ *map[string]*string, array *[]*string) ClassWithCollections { @@ -27277,7 +27006,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Create( "jsii-calc.ClassWithCollections", []interface{}{map_, array}, -@@ -62,18 +65,24 @@ +@@ -61,18 +64,24 @@ c, ) } @@ -27302,7 +27031,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C "map", val, ) -@@ -120,10 +129,13 @@ +@@ -119,10 +128,13 @@ return returns } @@ -27316,7 +27045,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C "staticArray", val, ) -@@ -140,10 +152,13 @@ +@@ -139,10 +151,13 @@ return returns } @@ -27335,10 +27064,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollections__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollections__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollections__checks.go --runtime-type-checking -@@ -0,0 +1,53 @@ +@@ -0,0 +1,52 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27394,10 +27122,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithCollections__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithCollections__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithCollections__no_checks.go --runtime-type-checking -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27427,7 +27154,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithContainerTypes.go.diff 1`] = ` --- go/jsiicalc/ClassWithContainerTypes.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithContainerTypes.go --runtime-type-checking -@@ -60,10 +60,13 @@ +@@ -59,10 +59,13 @@ func NewClassWithContainerTypes(array *[]*DummyObj, record *map[string]*DummyObj, obj *map[string]*DummyObj, props *ContainerProps) ClassWithContainerTypes { @@ -27446,10 +27173,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithContainerTypes__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithContainerTypes__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithContainerTypes__checks.go --runtime-type-checking -@@ -0,0 +1,46 @@ +@@ -0,0 +1,45 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27498,10 +27224,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithContainerTypes__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithContainerTypes__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithContainerTypes__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27515,7 +27240,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithJavaReservedWords.go.diff 1`] = ` --- go/jsiicalc/ClassWithJavaReservedWords.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithJavaReservedWords.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewClassWithJavaReservedWords(int *string) ClassWithJavaReservedWords { @@ -27529,7 +27254,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Create( "jsii-calc.ClassWithJavaReservedWords", []interface{}{int}, -@@ -50,10 +53,13 @@ +@@ -49,10 +52,13 @@ c, ) } @@ -27548,10 +27273,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithJavaReservedWords__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithJavaReservedWords__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithJavaReservedWords__checks.go --runtime-type-checking -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27579,10 +27303,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithJavaReservedWords__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithJavaReservedWords__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithJavaReservedWords__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27600,7 +27323,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithMutableObjectLiteralProperty.go.diff 1`] = ` --- go/jsiicalc/ClassWithMutableObjectLiteralProperty.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithMutableObjectLiteralProperty.go --runtime-type-checking -@@ -50,10 +50,13 @@ +@@ -49,10 +49,13 @@ c, ) } @@ -27619,10 +27342,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithMutableObjectLiteralProperty__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithMutableObjectLiteralProperty__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithMutableObjectLiteralProperty__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27642,10 +27364,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithMutableObjectLiteralProperty__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithMutableObjectLiteralProperty__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithMutableObjectLiteralProperty__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -27659,7 +27380,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithNestedUnion.go.diff 1`] = ` --- go/jsiicalc/ClassWithNestedUnion.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithNestedUnion.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewClassWithNestedUnion(unionProperty *[]interface{}) ClassWithNestedUnion { @@ -27673,7 +27394,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Create( "jsii-calc.ClassWithNestedUnion", []interface{}{unionProperty}, -@@ -50,10 +53,13 @@ +@@ -49,10 +52,13 @@ c, ) } @@ -27692,10 +27413,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithNestedUnion__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithNestedUnion__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithNestedUnion__checks.go --runtime-type-checking -@@ -0,0 +1,299 @@ +@@ -0,0 +1,298 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -27997,10 +27717,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithNestedUnion__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithNestedUnion__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithNestedUnion__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28018,7 +27737,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties.go.diff 1`] = ` --- go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties.go --runtime-type-checking -@@ -39,20 +39,26 @@ +@@ -38,20 +38,26 @@ return returns } @@ -28050,10 +27769,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__checks.go --runtime-type-checking -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28085,10 +27803,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__no_checks.go.diff 1`] = ` --- go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ClassWithPrivateConstructorAndAutomaticProperties__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28106,7 +27823,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConfusingToJackson.go.diff 1`] = ` --- go/jsiicalc/ConfusingToJackson.go --no-runtime-type-checking +++ go/jsiicalc/ConfusingToJackson.go --runtime-type-checking -@@ -29,10 +29,13 @@ +@@ -28,10 +28,13 @@ return returns } @@ -28125,10 +27842,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConfusingToJackson__checks.go.diff 1`] = ` --- go/jsiicalc/ConfusingToJackson__checks.go --no-runtime-type-checking +++ go/jsiicalc/ConfusingToJackson__checks.go --runtime-type-checking -@@ -0,0 +1,55 @@ +@@ -0,0 +1,54 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28186,10 +27902,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConfusingToJackson__no_checks.go.diff 1`] = ` --- go/jsiicalc/ConfusingToJackson__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ConfusingToJackson__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28203,7 +27918,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConstructorPassesThisOut.go.diff 1`] = ` --- go/jsiicalc/ConstructorPassesThisOut.go --no-runtime-type-checking +++ go/jsiicalc/ConstructorPassesThisOut.go --runtime-type-checking -@@ -15,10 +15,13 @@ +@@ -14,10 +14,13 @@ } func NewConstructorPassesThisOut(consumer PartiallyInitializedThisConsumer) ConstructorPassesThisOut { @@ -28222,10 +27937,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConstructorPassesThisOut__checks.go.diff 1`] = ` --- go/jsiicalc/ConstructorPassesThisOut__checks.go --no-runtime-type-checking +++ go/jsiicalc/ConstructorPassesThisOut__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28245,10 +27959,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConstructorPassesThisOut__no_checks.go.diff 1`] = ` --- go/jsiicalc/ConstructorPassesThisOut__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ConstructorPassesThisOut__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28262,7 +27975,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumePureInterface.go.diff 1`] = ` --- go/jsiicalc/ConsumePureInterface.go --no-runtime-type-checking +++ go/jsiicalc/ConsumePureInterface.go --runtime-type-checking -@@ -16,10 +16,13 @@ +@@ -15,10 +15,13 @@ } func NewConsumePureInterface(delegate IStructReturningDelegate) ConsumePureInterface { @@ -28281,10 +27994,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumePureInterface__checks.go.diff 1`] = ` --- go/jsiicalc/ConsumePureInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumePureInterface__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28304,10 +28016,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumePureInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/ConsumePureInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumePureInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28321,7 +28032,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumerCanRingBell.go.diff 1`] = ` --- go/jsiicalc/ConsumerCanRingBell.go --no-runtime-type-checking +++ go/jsiicalc/ConsumerCanRingBell.go --runtime-type-checking -@@ -62,10 +62,13 @@ +@@ -61,10 +61,13 @@ // // Returns whether the bell was rung. func ConsumerCanRingBell_StaticImplementedByObjectLiteral(ringer IBellRinger) *bool { @@ -28335,7 +28046,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.StaticInvoke( "jsii-calc.ConsumerCanRingBell", "staticImplementedByObjectLiteral", -@@ -80,10 +83,13 @@ +@@ -79,10 +82,13 @@ // // Return whether the bell was rung. func ConsumerCanRingBell_StaticImplementedByPrivateClass(ringer IBellRinger) *bool { @@ -28349,7 +28060,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.StaticInvoke( "jsii-calc.ConsumerCanRingBell", "staticImplementedByPrivateClass", -@@ -98,10 +104,13 @@ +@@ -97,10 +103,13 @@ // // Return whether the bell was rung. func ConsumerCanRingBell_StaticImplementedByPublicClass(ringer IBellRinger) *bool { @@ -28363,7 +28074,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.StaticInvoke( "jsii-calc.ConsumerCanRingBell", "staticImplementedByPublicClass", -@@ -116,10 +125,13 @@ +@@ -115,10 +124,13 @@ // // Return whether the bell was rung. func ConsumerCanRingBell_StaticWhenTypedAsClass(ringer IConcreteBellRinger) *bool { @@ -28377,7 +28088,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.StaticInvoke( "jsii-calc.ConsumerCanRingBell", "staticWhenTypedAsClass", -@@ -129,10 +141,13 @@ +@@ -128,10 +140,13 @@ return returns } @@ -28391,7 +28102,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Invoke( c, "implementedByObjectLiteral", -@@ -142,10 +157,13 @@ +@@ -141,10 +156,13 @@ return returns } @@ -28405,7 +28116,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Invoke( c, "implementedByPrivateClass", -@@ -155,10 +173,13 @@ +@@ -154,10 +172,13 @@ return returns } @@ -28419,7 +28130,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Invoke( c, "implementedByPublicClass", -@@ -168,10 +189,13 @@ +@@ -167,10 +188,13 @@ return returns } @@ -28438,10 +28149,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumerCanRingBell__checks.go.diff 1`] = ` --- go/jsiicalc/ConsumerCanRingBell__checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumerCanRingBell__checks.go --runtime-type-checking -@@ -0,0 +1,73 @@ +@@ -0,0 +1,72 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28517,10 +28227,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumerCanRingBell__no_checks.go.diff 1`] = ` --- go/jsiicalc/ConsumerCanRingBell__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumerCanRingBell__no_checks.go --runtime-type-checking -@@ -0,0 +1,39 @@ +@@ -0,0 +1,38 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28562,7 +28271,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumersOfThisCrazyTypeSystem.go.diff 1`] = ` --- go/jsiicalc/ConsumersOfThisCrazyTypeSystem.go --no-runtime-type-checking +++ go/jsiicalc/ConsumersOfThisCrazyTypeSystem.go --runtime-type-checking -@@ -39,10 +39,13 @@ +@@ -38,10 +38,13 @@ c, ) } @@ -28576,7 +28285,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C _jsii_.Invoke( c, "consumeAnotherPublicInterface", -@@ -52,10 +55,13 @@ +@@ -51,10 +54,13 @@ return returns } @@ -28595,10 +28304,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumersOfThisCrazyTypeSystem__checks.go.diff 1`] = ` --- go/jsiicalc/ConsumersOfThisCrazyTypeSystem__checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumersOfThisCrazyTypeSystem__checks.go --runtime-type-checking -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28626,10 +28334,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/ConsumersOfThisCrazyTypeSystem__no_checks.go.diff 1`] = ` --- go/jsiicalc/ConsumersOfThisCrazyTypeSystem__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ConsumersOfThisCrazyTypeSystem__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28647,7 +28354,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/C exports[`Generated code for "jsii-calc": /go/jsiicalc/DataRenderer.go.diff 1`] = ` --- go/jsiicalc/DataRenderer.go --no-runtime-type-checking +++ go/jsiicalc/DataRenderer.go --runtime-type-checking -@@ -43,10 +43,13 @@ +@@ -42,10 +42,13 @@ d, ) } @@ -28661,7 +28368,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D _jsii_.Invoke( d, "render", -@@ -56,10 +59,13 @@ +@@ -55,10 +58,13 @@ return returns } @@ -28675,7 +28382,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D _jsii_.Invoke( d, "renderArbitrary", -@@ -69,10 +75,13 @@ +@@ -68,10 +74,13 @@ return returns } @@ -28694,10 +28401,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DataRenderer__checks.go.diff 1`] = ` --- go/jsiicalc/DataRenderer__checks.go --no-runtime-type-checking +++ go/jsiicalc/DataRenderer__checks.go --runtime-type-checking -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28737,10 +28443,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DataRenderer__no_checks.go.diff 1`] = ` --- go/jsiicalc/DataRenderer__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DataRenderer__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28762,7 +28467,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedClass.go.diff 1`] = ` --- go/jsiicalc/DeprecatedClass.go --no-runtime-type-checking +++ go/jsiicalc/DeprecatedClass.go --runtime-type-checking -@@ -46,10 +46,13 @@ +@@ -45,10 +45,13 @@ // Deprecated: this constructor is "just" okay. func NewDeprecatedClass(readonlyString *string, mutableNumber *float64) DeprecatedClass { @@ -28781,10 +28486,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedClass__checks.go.diff 1`] = ` --- go/jsiicalc/DeprecatedClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/DeprecatedClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28804,10 +28508,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DeprecatedClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/DeprecatedClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DeprecatedClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28821,7 +28524,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotOverridePrivates.go.diff 1`] = ` --- go/jsiicalc/DoNotOverridePrivates.go --no-runtime-type-checking +++ go/jsiicalc/DoNotOverridePrivates.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ d, ) } @@ -28840,10 +28543,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotOverridePrivates__checks.go.diff 1`] = ` --- go/jsiicalc/DoNotOverridePrivates__checks.go --no-runtime-type-checking +++ go/jsiicalc/DoNotOverridePrivates__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28863,10 +28565,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotOverridePrivates__no_checks.go.diff 1`] = ` --- go/jsiicalc/DoNotOverridePrivates__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DoNotOverridePrivates__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28880,7 +28581,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotRecognizeAnyAsOptional.go.diff 1`] = ` --- go/jsiicalc/DoNotRecognizeAnyAsOptional.go --no-runtime-type-checking +++ go/jsiicalc/DoNotRecognizeAnyAsOptional.go --runtime-type-checking -@@ -39,10 +39,13 @@ +@@ -38,10 +38,13 @@ d, ) } @@ -28899,10 +28600,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotRecognizeAnyAsOptional__checks.go.diff 1`] = ` --- go/jsiicalc/DoNotRecognizeAnyAsOptional__checks.go --no-runtime-type-checking +++ go/jsiicalc/DoNotRecognizeAnyAsOptional__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28922,10 +28622,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DoNotRecognizeAnyAsOptional__no_checks.go.diff 1`] = ` --- go/jsiicalc/DoNotRecognizeAnyAsOptional__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DoNotRecognizeAnyAsOptional__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28939,7 +28638,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DocumentedClass.go.diff 1`] = ` --- go/jsiicalc/DocumentedClass.go --no-runtime-type-checking +++ go/jsiicalc/DocumentedClass.go --runtime-type-checking -@@ -62,10 +62,13 @@ +@@ -61,10 +61,13 @@ d, ) } @@ -28958,10 +28657,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DocumentedClass__checks.go.diff 1`] = ` --- go/jsiicalc/DocumentedClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/DocumentedClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -28981,10 +28679,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DocumentedClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/DocumentedClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DocumentedClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -28998,7 +28695,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearer.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearer.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearer.go --runtime-type-checking -@@ -41,10 +41,13 @@ +@@ -40,10 +40,13 @@ func NewDynamicPropertyBearer(valueStore *string) DynamicPropertyBearer { @@ -29012,7 +28709,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D _jsii_.Create( "jsii-calc.DynamicPropertyBearer", []interface{}{valueStore}, -@@ -63,18 +66,24 @@ +@@ -62,18 +65,24 @@ d, ) } @@ -29042,10 +28739,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearer__checks.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearer__checks.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearer__checks.go --runtime-type-checking -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29081,10 +28777,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearer__no_checks.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearer__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearer__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29106,7 +28801,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearerChild.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearerChild.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearerChild.go --runtime-type-checking -@@ -56,10 +56,13 @@ +@@ -55,10 +55,13 @@ func NewDynamicPropertyBearerChild(originalValue *string) DynamicPropertyBearerChild { @@ -29120,7 +28815,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D _jsii_.Create( "jsii-calc.DynamicPropertyBearerChild", []interface{}{originalValue}, -@@ -78,26 +81,35 @@ +@@ -77,26 +80,35 @@ d, ) } @@ -29161,10 +28856,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearerChild__checks.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearerChild__checks.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearerChild__checks.go --runtime-type-checking -@@ -0,0 +1,41 @@ +@@ -0,0 +1,40 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29208,10 +28902,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/DynamicPropertyBearerChild__no_checks.go.diff 1`] = ` --- go/jsiicalc/DynamicPropertyBearerChild__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/DynamicPropertyBearerChild__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29237,7 +28930,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/D exports[`Generated code for "jsii-calc": /go/jsiicalc/Entropy.go.diff 1`] = ` --- go/jsiicalc/Entropy.go --no-runtime-type-checking +++ go/jsiicalc/Entropy.go --runtime-type-checking -@@ -46,10 +46,13 @@ +@@ -45,10 +45,13 @@ return returns } @@ -29256,10 +28949,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/Entropy__checks.go.diff 1`] = ` --- go/jsiicalc/Entropy__checks.go --no-runtime-type-checking +++ go/jsiicalc/Entropy__checks.go --runtime-type-checking -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29287,10 +28979,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/Entropy__no_checks.go.diff 1`] = ` --- go/jsiicalc/Entropy__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Entropy__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29308,7 +28999,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/EraseUndefinedHashValues.go.diff 1`] = ` --- go/jsiicalc/EraseUndefinedHashValues.go --no-runtime-type-checking +++ go/jsiicalc/EraseUndefinedHashValues.go --runtime-type-checking -@@ -43,10 +43,13 @@ +@@ -42,10 +42,13 @@ // Used to check that undefined/null hash values // are being erased when sending values from native code to JS. func EraseUndefinedHashValues_DoesKeyExist(opts *EraseUndefinedHashValuesOptions, key *string) *bool { @@ -29327,10 +29018,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/EraseUndefinedHashValues__checks.go.diff 1`] = ` --- go/jsiicalc/EraseUndefinedHashValues__checks.go --no-runtime-type-checking +++ go/jsiicalc/EraseUndefinedHashValues__checks.go --runtime-type-checking -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29359,10 +29049,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/EraseUndefinedHashValues__no_checks.go.diff 1`] = ` --- go/jsiicalc/EraseUndefinedHashValues__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/EraseUndefinedHashValues__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29376,7 +29065,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalClass.go.diff 1`] = ` --- go/jsiicalc/ExperimentalClass.go --no-runtime-type-checking +++ go/jsiicalc/ExperimentalClass.go --runtime-type-checking -@@ -46,10 +46,13 @@ +@@ -45,10 +45,13 @@ // Experimental. func NewExperimentalClass(readonlyString *string, mutableNumber *float64) ExperimentalClass { @@ -29395,10 +29084,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalClass__checks.go.diff 1`] = ` --- go/jsiicalc/ExperimentalClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/ExperimentalClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29418,10 +29106,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExperimentalClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/ExperimentalClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ExperimentalClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29435,7 +29122,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExportedBaseClass.go.diff 1`] = ` --- go/jsiicalc/ExportedBaseClass.go --no-runtime-type-checking +++ go/jsiicalc/ExportedBaseClass.go --runtime-type-checking -@@ -27,10 +27,13 @@ +@@ -26,10 +26,13 @@ func NewExportedBaseClass(success *bool) ExportedBaseClass { @@ -29454,10 +29141,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExportedBaseClass__checks.go.diff 1`] = ` --- go/jsiicalc/ExportedBaseClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/ExportedBaseClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29477,10 +29163,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExportedBaseClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/ExportedBaseClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ExportedBaseClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29494,7 +29179,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalClass.go.diff 1`] = ` --- go/jsiicalc/ExternalClass.go --no-runtime-type-checking +++ go/jsiicalc/ExternalClass.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ func NewExternalClass(readonlyString *string, mutableNumber *float64) ExternalClass { @@ -29513,10 +29198,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalClass__checks.go.diff 1`] = ` --- go/jsiicalc/ExternalClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/ExternalClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29536,10 +29220,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/ExternalClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/ExternalClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ExternalClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29553,7 +29236,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/E exports[`Generated code for "jsii-calc": /go/jsiicalc/GiveMeStructs.go.diff 1`] = ` --- go/jsiicalc/GiveMeStructs.go --no-runtime-type-checking +++ go/jsiicalc/GiveMeStructs.go --runtime-type-checking -@@ -57,10 +57,13 @@ +@@ -56,10 +56,13 @@ g, ) } @@ -29567,7 +29250,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G _jsii_.Invoke( g, "derivedToFirst", -@@ -70,10 +73,13 @@ +@@ -69,10 +72,13 @@ return returns } @@ -29581,7 +29264,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G _jsii_.Invoke( g, "readDerivedNonPrimitive", -@@ -83,10 +89,13 @@ +@@ -82,10 +88,13 @@ return returns } @@ -29600,10 +29283,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/GiveMeStructs__checks.go.diff 1`] = ` --- go/jsiicalc/GiveMeStructs__checks.go --no-runtime-type-checking +++ go/jsiicalc/GiveMeStructs__checks.go --runtime-type-checking -@@ -0,0 +1,46 @@ +@@ -0,0 +1,45 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29652,10 +29334,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/GiveMeStructs__no_checks.go.diff 1`] = ` --- go/jsiicalc/GiveMeStructs__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/GiveMeStructs__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29677,7 +29358,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/GreetingAugmenter.go.diff 1`] = ` --- go/jsiicalc/GreetingAugmenter.go --no-runtime-type-checking +++ go/jsiicalc/GreetingAugmenter.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ g, ) } @@ -29696,10 +29377,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/GreetingAugmenter__checks.go.diff 1`] = ` --- go/jsiicalc/GreetingAugmenter__checks.go --no-runtime-type-checking +++ go/jsiicalc/GreetingAugmenter__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29721,10 +29401,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/GreetingAugmenter__no_checks.go.diff 1`] = ` --- go/jsiicalc/GreetingAugmenter__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/GreetingAugmenter__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29738,7 +29417,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/G exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnotherPublicInterface.go.diff 1`] = ` --- go/jsiicalc/IAnotherPublicInterface.go --no-runtime-type-checking +++ go/jsiicalc/IAnotherPublicInterface.go --runtime-type-checking -@@ -24,10 +24,13 @@ +@@ -23,10 +23,13 @@ ) return returns } @@ -29757,10 +29436,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnotherPublicInterface__checks.go.diff 1`] = ` --- go/jsiicalc/IAnotherPublicInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/IAnotherPublicInterface__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29780,10 +29458,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IAnotherPublicInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/IAnotherPublicInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IAnotherPublicInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29797,7 +29474,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IBellRinger.go.diff 1`] = ` --- go/jsiicalc/IBellRinger.go --no-runtime-type-checking +++ go/jsiicalc/IBellRinger.go --runtime-type-checking -@@ -14,10 +14,13 @@ +@@ -13,10 +13,13 @@ type jsiiProxy_IBellRinger struct { _ byte // padding } @@ -29816,10 +29493,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IBellRinger__checks.go.diff 1`] = ` --- go/jsiicalc/IBellRinger__checks.go --no-runtime-type-checking +++ go/jsiicalc/IBellRinger__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29839,10 +29515,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IBellRinger__no_checks.go.diff 1`] = ` --- go/jsiicalc/IBellRinger__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IBellRinger__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29856,7 +29531,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IConcreteBellRinger.go.diff 1`] = ` --- go/jsiicalc/IConcreteBellRinger.go --no-runtime-type-checking +++ go/jsiicalc/IConcreteBellRinger.go --runtime-type-checking -@@ -14,10 +14,13 @@ +@@ -13,10 +13,13 @@ type jsiiProxy_IConcreteBellRinger struct { _ byte // padding } @@ -29875,10 +29550,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IConcreteBellRinger__checks.go.diff 1`] = ` --- go/jsiicalc/IConcreteBellRinger__checks.go --no-runtime-type-checking +++ go/jsiicalc/IConcreteBellRinger__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29898,10 +29572,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IConcreteBellRinger__no_checks.go.diff 1`] = ` --- go/jsiicalc/IConcreteBellRinger__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IConcreteBellRinger__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29915,7 +29588,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IExtendsPrivateInterface.go.diff 1`] = ` --- go/jsiicalc/IExtendsPrivateInterface.go --no-runtime-type-checking +++ go/jsiicalc/IExtendsPrivateInterface.go --runtime-type-checking -@@ -35,10 +35,13 @@ +@@ -34,10 +34,13 @@ ) return returns } @@ -29934,10 +29607,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IExtendsPrivateInterface__checks.go.diff 1`] = ` --- go/jsiicalc/IExtendsPrivateInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/IExtendsPrivateInterface__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -29957,10 +29629,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IExtendsPrivateInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/IExtendsPrivateInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IExtendsPrivateInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -29974,7 +29645,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithOptionalMethodArguments.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithOptionalMethodArguments.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithOptionalMethodArguments.go --runtime-type-checking -@@ -14,10 +14,13 @@ +@@ -13,10 +13,13 @@ type jsiiProxy_IInterfaceWithOptionalMethodArguments struct { _ byte // padding } @@ -29993,10 +29664,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithOptionalMethodArguments__checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithOptionalMethodArguments__checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithOptionalMethodArguments__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30016,10 +29686,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithOptionalMethodArguments__no_checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithOptionalMethodArguments__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithOptionalMethodArguments__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30033,7 +29702,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithProperties.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithProperties.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithProperties.go --runtime-type-checking -@@ -35,10 +35,13 @@ +@@ -34,10 +34,13 @@ ) return returns } @@ -30052,10 +29721,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithProperties__checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithProperties__checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithProperties__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30075,10 +29743,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithProperties__no_checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithProperties__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithProperties__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30092,7 +29759,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithPropertiesExtension.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithPropertiesExtension.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithPropertiesExtension.go --runtime-type-checking -@@ -25,10 +25,13 @@ +@@ -24,10 +24,13 @@ ) return returns } @@ -30111,10 +29778,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithPropertiesExtension__checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithPropertiesExtension__checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithPropertiesExtension__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30134,10 +29800,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IInterfaceWithPropertiesExtension__no_checks.go.diff 1`] = ` --- go/jsiicalc/IInterfaceWithPropertiesExtension__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IInterfaceWithPropertiesExtension__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30151,7 +29816,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IMutableObjectLiteral.go.diff 1`] = ` --- go/jsiicalc/IMutableObjectLiteral.go --no-runtime-type-checking +++ go/jsiicalc/IMutableObjectLiteral.go --runtime-type-checking -@@ -24,10 +24,13 @@ +@@ -23,10 +23,13 @@ ) return returns } @@ -30170,10 +29835,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IMutableObjectLiteral__checks.go.diff 1`] = ` --- go/jsiicalc/IMutableObjectLiteral__checks.go --no-runtime-type-checking +++ go/jsiicalc/IMutableObjectLiteral__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30193,10 +29857,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IMutableObjectLiteral__no_checks.go.diff 1`] = ` --- go/jsiicalc/IMutableObjectLiteral__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IMutableObjectLiteral__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30210,7 +29873,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/INonInternalInterface.go.diff 1`] = ` --- go/jsiicalc/INonInternalInterface.go --no-runtime-type-checking +++ go/jsiicalc/INonInternalInterface.go --runtime-type-checking -@@ -27,10 +27,13 @@ +@@ -26,10 +26,13 @@ ) return returns } @@ -30224,7 +29887,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I "b", val, ) -@@ -45,10 +48,13 @@ +@@ -44,10 +47,13 @@ ) return returns } @@ -30243,10 +29906,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/INonInternalInterface__checks.go.diff 1`] = ` --- go/jsiicalc/INonInternalInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/INonInternalInterface__checks.go --runtime-type-checking -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30274,10 +29936,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/INonInternalInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/INonInternalInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/INonInternalInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30295,7 +29956,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IObjectWithProperty.go.diff 1`] = ` --- go/jsiicalc/IObjectWithProperty.go --no-runtime-type-checking +++ go/jsiicalc/IObjectWithProperty.go --runtime-type-checking -@@ -39,10 +39,13 @@ +@@ -38,10 +38,13 @@ ) return returns } @@ -30314,10 +29975,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IObjectWithProperty__checks.go.diff 1`] = ` --- go/jsiicalc/IObjectWithProperty__checks.go --no-runtime-type-checking +++ go/jsiicalc/IObjectWithProperty__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30337,10 +29997,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/IObjectWithProperty__no_checks.go.diff 1`] = ` --- go/jsiicalc/IObjectWithProperty__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/IObjectWithProperty__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30354,7 +30013,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementInternalInterface.go.diff 1`] = ` --- go/jsiicalc/ImplementInternalInterface.go --no-runtime-type-checking +++ go/jsiicalc/ImplementInternalInterface.go --runtime-type-checking -@@ -50,10 +50,13 @@ +@@ -49,10 +49,13 @@ i, ) } @@ -30373,10 +30032,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementInternalInterface__checks.go.diff 1`] = ` --- go/jsiicalc/ImplementInternalInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/ImplementInternalInterface__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30396,10 +30054,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementInternalInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/ImplementInternalInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ImplementInternalInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30413,7 +30070,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsPrivateInterface.go.diff 1`] = ` --- go/jsiicalc/ImplementsPrivateInterface.go --no-runtime-type-checking +++ go/jsiicalc/ImplementsPrivateInterface.go --runtime-type-checking -@@ -50,10 +50,13 @@ +@@ -49,10 +49,13 @@ i, ) } @@ -30432,10 +30089,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsPrivateInterface__checks.go.diff 1`] = ` --- go/jsiicalc/ImplementsPrivateInterface__checks.go --no-runtime-type-checking +++ go/jsiicalc/ImplementsPrivateInterface__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30455,10 +30111,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/ImplementsPrivateInterface__no_checks.go.diff 1`] = ` --- go/jsiicalc/ImplementsPrivateInterface__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ImplementsPrivateInterface__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30472,7 +30127,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/InterfacesMaker.go.diff 1`] = ` --- go/jsiicalc/InterfacesMaker.go --no-runtime-type-checking +++ go/jsiicalc/InterfacesMaker.go --runtime-type-checking -@@ -18,10 +18,13 @@ +@@ -17,10 +17,13 @@ } func InterfacesMaker_MakeInterfaces(count *float64) *[]scopejsiicalclib.IDoublable { @@ -30491,10 +30146,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/InterfacesMaker__checks.go.diff 1`] = ` --- go/jsiicalc/InterfacesMaker__checks.go --no-runtime-type-checking +++ go/jsiicalc/InterfacesMaker__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30514,10 +30168,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/InterfacesMaker__no_checks.go.diff 1`] = ` --- go/jsiicalc/InterfacesMaker__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/InterfacesMaker__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30531,7 +30184,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/I exports[`Generated code for "jsii-calc": /go/jsiicalc/JSII417Derived.go.diff 1`] = ` --- go/jsiicalc/JSII417Derived.go --no-runtime-type-checking +++ go/jsiicalc/JSII417Derived.go --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -41,10 +41,13 @@ func NewJSII417Derived(property *string) JSII417Derived { @@ -30550,10 +30203,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JSII417Derived__checks.go.diff 1`] = ` --- go/jsiicalc/JSII417Derived__checks.go --no-runtime-type-checking +++ go/jsiicalc/JSII417Derived__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30573,10 +30225,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JSII417Derived__no_checks.go.diff 1`] = ` --- go/jsiicalc/JSII417Derived__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/JSII417Derived__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30590,7 +30241,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralToNativeClass.go.diff 1`] = ` --- go/jsiicalc/JSObjectLiteralToNativeClass.go --no-runtime-type-checking +++ go/jsiicalc/JSObjectLiteralToNativeClass.go --runtime-type-checking -@@ -62,18 +62,24 @@ +@@ -61,18 +61,24 @@ j, ) } @@ -30620,10 +30271,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralToNativeClass__checks.go.diff 1`] = ` --- go/jsiicalc/JSObjectLiteralToNativeClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/JSObjectLiteralToNativeClass__checks.go --runtime-type-checking -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30651,10 +30301,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JSObjectLiteralToNativeClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/JSObjectLiteralToNativeClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/JSObjectLiteralToNativeClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30672,7 +30321,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JavaReservedWords.go.diff 1`] = ` --- go/jsiicalc/JavaReservedWords.go --no-runtime-type-checking +++ go/jsiicalc/JavaReservedWords.go --runtime-type-checking -@@ -102,10 +102,13 @@ +@@ -101,10 +101,13 @@ j, ) } @@ -30691,10 +30340,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JavaReservedWords__checks.go.diff 1`] = ` --- go/jsiicalc/JavaReservedWords__checks.go --no-runtime-type-checking +++ go/jsiicalc/JavaReservedWords__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30714,10 +30362,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/JavaReservedWords__no_checks.go.diff 1`] = ` --- go/jsiicalc/JavaReservedWords__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/JavaReservedWords__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30731,7 +30378,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/J exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne.go.diff 1`] = ` --- go/jsiicalc/LevelOne.go --no-runtime-type-checking +++ go/jsiicalc/LevelOne.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewLevelOne(props *LevelOneProps) LevelOne { @@ -30750,10 +30397,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/L exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne__checks.go.diff 1`] = ` --- go/jsiicalc/LevelOne__checks.go --no-runtime-type-checking +++ go/jsiicalc/LevelOne__checks.go --runtime-type-checking -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30778,10 +30424,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/L exports[`Generated code for "jsii-calc": /go/jsiicalc/LevelOne__no_checks.go.diff 1`] = ` --- go/jsiicalc/LevelOne__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/LevelOne__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30795,7 +30440,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/L exports[`Generated code for "jsii-calc": /go/jsiicalc/Multiply.go.diff 1`] = ` --- go/jsiicalc/Multiply.go --no-runtime-type-checking +++ go/jsiicalc/Multiply.go --runtime-type-checking -@@ -73,10 +73,13 @@ +@@ -72,10 +72,13 @@ // Creates a BinaryOperation. func NewMultiply(lhs scopejsiicalclib.NumericValue, rhs scopejsiicalclib.NumericValue) Multiply { @@ -30814,10 +30459,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/M exports[`Generated code for "jsii-calc": /go/jsiicalc/Multiply__checks.go.diff 1`] = ` --- go/jsiicalc/Multiply__checks.go --no-runtime-type-checking +++ go/jsiicalc/Multiply__checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30843,10 +30487,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/M exports[`Generated code for "jsii-calc": /go/jsiicalc/Multiply__no_checks.go.diff 1`] = ` --- go/jsiicalc/Multiply__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Multiply__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30860,7 +30503,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/M exports[`Generated code for "jsii-calc": /go/jsiicalc/Negate.go.diff 1`] = ` --- go/jsiicalc/Negate.go --no-runtime-type-checking +++ go/jsiicalc/Negate.go --runtime-type-checking -@@ -55,10 +55,13 @@ +@@ -54,10 +54,13 @@ func NewNegate(operand scopejsiicalclib.NumericValue) Negate { @@ -30879,10 +30522,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/Negate__checks.go.diff 1`] = ` --- go/jsiicalc/Negate__checks.go --no-runtime-type-checking +++ go/jsiicalc/Negate__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30904,10 +30546,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/Negate__no_checks.go.diff 1`] = ` --- go/jsiicalc/Negate__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Negate__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -30921,7 +30562,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NullShouldBeTreatedAsUndefined.go.diff 1`] = ` --- go/jsiicalc/NullShouldBeTreatedAsUndefined.go --no-runtime-type-checking +++ go/jsiicalc/NullShouldBeTreatedAsUndefined.go --runtime-type-checking -@@ -32,10 +32,13 @@ +@@ -31,10 +31,13 @@ func NewNullShouldBeTreatedAsUndefined(_param1 *string, optional interface{}) NullShouldBeTreatedAsUndefined { @@ -30935,7 +30576,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N _jsii_.Create( "jsii-calc.NullShouldBeTreatedAsUndefined", []interface{}{_param1, optional}, -@@ -70,10 +73,13 @@ +@@ -69,10 +72,13 @@ []interface{}{value}, ) } @@ -30954,10 +30595,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NullShouldBeTreatedAsUndefined__checks.go.diff 1`] = ` --- go/jsiicalc/NullShouldBeTreatedAsUndefined__checks.go --no-runtime-type-checking +++ go/jsiicalc/NullShouldBeTreatedAsUndefined__checks.go --runtime-type-checking -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -30990,10 +30630,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NullShouldBeTreatedAsUndefined__no_checks.go.diff 1`] = ` --- go/jsiicalc/NullShouldBeTreatedAsUndefined__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/NullShouldBeTreatedAsUndefined__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31011,7 +30650,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NumberGenerator.go.diff 1`] = ` --- go/jsiicalc/NumberGenerator.go --no-runtime-type-checking +++ go/jsiicalc/NumberGenerator.go --runtime-type-checking -@@ -31,10 +31,13 @@ +@@ -30,10 +30,13 @@ func NewNumberGenerator(generator IRandomNumberGenerator) NumberGenerator { @@ -31025,7 +30664,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N _jsii_.Create( "jsii-calc.NumberGenerator", []interface{}{generator}, -@@ -53,18 +56,24 @@ +@@ -52,18 +55,24 @@ n, ) } @@ -31055,10 +30694,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NumberGenerator__checks.go.diff 1`] = ` --- go/jsiicalc/NumberGenerator__checks.go --no-runtime-type-checking +++ go/jsiicalc/NumberGenerator__checks.go --runtime-type-checking -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31094,10 +30732,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/NumberGenerator__no_checks.go.diff 1`] = ` --- go/jsiicalc/NumberGenerator__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/NumberGenerator__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31119,7 +30756,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/N exports[`Generated code for "jsii-calc": /go/jsiicalc/ObjectRefsInCollections.go.diff 1`] = ` --- go/jsiicalc/ObjectRefsInCollections.go --no-runtime-type-checking +++ go/jsiicalc/ObjectRefsInCollections.go --runtime-type-checking -@@ -44,10 +44,13 @@ +@@ -43,10 +43,13 @@ o, ) } @@ -31133,7 +30770,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O _jsii_.Invoke( o, "sumFromArray", -@@ -57,10 +60,13 @@ +@@ -56,10 +59,13 @@ return returns } @@ -31152,10 +30789,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/ObjectRefsInCollections__checks.go.diff 1`] = ` --- go/jsiicalc/ObjectRefsInCollections__checks.go --no-runtime-type-checking +++ go/jsiicalc/ObjectRefsInCollections__checks.go --runtime-type-checking -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31185,10 +30821,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/ObjectRefsInCollections__no_checks.go.diff 1`] = ` --- go/jsiicalc/ObjectRefsInCollections__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ObjectRefsInCollections__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31206,7 +30841,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalArgumentInvoker.go.diff 1`] = ` --- go/jsiicalc/OptionalArgumentInvoker.go --no-runtime-type-checking +++ go/jsiicalc/OptionalArgumentInvoker.go --runtime-type-checking -@@ -17,10 +17,13 @@ +@@ -16,10 +16,13 @@ } func NewOptionalArgumentInvoker(delegate IInterfaceWithOptionalMethodArguments) OptionalArgumentInvoker { @@ -31225,10 +30860,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalArgumentInvoker__checks.go.diff 1`] = ` --- go/jsiicalc/OptionalArgumentInvoker__checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalArgumentInvoker__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31248,10 +30882,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalArgumentInvoker__no_checks.go.diff 1`] = ` --- go/jsiicalc/OptionalArgumentInvoker__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalArgumentInvoker__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31265,7 +30898,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalConstructorArgument.go.diff 1`] = ` --- go/jsiicalc/OptionalConstructorArgument.go --no-runtime-type-checking +++ go/jsiicalc/OptionalConstructorArgument.go --runtime-type-checking -@@ -51,10 +51,13 @@ +@@ -50,10 +50,13 @@ func NewOptionalConstructorArgument(arg1 *float64, arg2 *string, arg3 *time.Time) OptionalConstructorArgument { @@ -31284,10 +30917,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalConstructorArgument__checks.go.diff 1`] = ` --- go/jsiicalc/OptionalConstructorArgument__checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalConstructorArgument__checks.go --runtime-type-checking -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31311,10 +30943,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalConstructorArgument__no_checks.go.diff 1`] = ` --- go/jsiicalc/OptionalConstructorArgument__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalConstructorArgument__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31328,7 +30959,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalStructConsumer.go.diff 1`] = ` --- go/jsiicalc/OptionalStructConsumer.go --no-runtime-type-checking +++ go/jsiicalc/OptionalStructConsumer.go --runtime-type-checking -@@ -38,10 +38,13 @@ +@@ -37,10 +37,13 @@ func NewOptionalStructConsumer(optionalStruct *OptionalStruct) OptionalStructConsumer { @@ -31347,10 +30978,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalStructConsumer__checks.go.diff 1`] = ` --- go/jsiicalc/OptionalStructConsumer__checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalStructConsumer__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31370,10 +31000,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OptionalStructConsumer__no_checks.go.diff 1`] = ` --- go/jsiicalc/OptionalStructConsumer__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/OptionalStructConsumer__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31387,7 +31016,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverridableProtectedMember.go.diff 1`] = ` --- go/jsiicalc/OverridableProtectedMember.go --no-runtime-type-checking +++ go/jsiicalc/OverridableProtectedMember.go --runtime-type-checking -@@ -66,10 +66,13 @@ +@@ -65,10 +65,13 @@ o, ) } @@ -31406,10 +31035,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverridableProtectedMember__checks.go.diff 1`] = ` --- go/jsiicalc/OverridableProtectedMember__checks.go --no-runtime-type-checking +++ go/jsiicalc/OverridableProtectedMember__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31429,10 +31057,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverridableProtectedMember__no_checks.go.diff 1`] = ` --- go/jsiicalc/OverridableProtectedMember__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/OverridableProtectedMember__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31446,7 +31073,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverrideReturnsObject.go.diff 1`] = ` --- go/jsiicalc/OverrideReturnsObject.go --no-runtime-type-checking +++ go/jsiicalc/OverrideReturnsObject.go --runtime-type-checking -@@ -38,10 +38,13 @@ +@@ -37,10 +37,13 @@ o, ) } @@ -31465,10 +31092,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverrideReturnsObject__checks.go.diff 1`] = ` --- go/jsiicalc/OverrideReturnsObject__checks.go --no-runtime-type-checking +++ go/jsiicalc/OverrideReturnsObject__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31488,10 +31114,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/OverrideReturnsObject__no_checks.go.diff 1`] = ` --- go/jsiicalc/OverrideReturnsObject__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/OverrideReturnsObject__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31505,7 +31130,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/O exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsBuiltins.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsBuiltins.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsBuiltins.go --runtime-type-checking -@@ -16,10 +16,13 @@ +@@ -15,10 +15,13 @@ } func NewParamShadowsBuiltins(builtins *string, str *string, props *ParamShadowsBuiltinsProps) ParamShadowsBuiltins { @@ -31524,10 +31149,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsBuiltins__checks.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsBuiltins__checks.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsBuiltins__checks.go --runtime-type-checking -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31560,10 +31184,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsBuiltins__no_checks.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsBuiltins__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsBuiltins__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31577,7 +31200,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsScope.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsScope.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsScope.go --runtime-type-checking -@@ -43,10 +43,13 @@ +@@ -42,10 +42,13 @@ p, ) } @@ -31596,10 +31219,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsScope__checks.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsScope__checks.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsScope__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31621,10 +31243,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ParamShadowsScope__no_checks.go.diff 1`] = ` --- go/jsiicalc/ParamShadowsScope__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ParamShadowsScope__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31638,7 +31259,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/PartiallyInitializedThisConsumer.go.diff 1`] = ` --- go/jsiicalc/PartiallyInitializedThisConsumer.go --no-runtime-type-checking +++ go/jsiicalc/PartiallyInitializedThisConsumer.go --runtime-type-checking -@@ -26,10 +26,13 @@ +@@ -25,10 +25,13 @@ p, ) } @@ -31657,10 +31278,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/PartiallyInitializedThisConsumer__checks.go.diff 1`] = ` --- go/jsiicalc/PartiallyInitializedThisConsumer__checks.go --no-runtime-type-checking +++ go/jsiicalc/PartiallyInitializedThisConsumer__checks.go --runtime-type-checking -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31689,10 +31309,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/PartiallyInitializedThisConsumer__no_checks.go.diff 1`] = ` --- go/jsiicalc/PartiallyInitializedThisConsumer__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/PartiallyInitializedThisConsumer__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31706,7 +31325,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Polymorphism.go.diff 1`] = ` --- go/jsiicalc/Polymorphism.go --no-runtime-type-checking +++ go/jsiicalc/Polymorphism.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ p, ) } @@ -31725,10 +31344,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Polymorphism__checks.go.diff 1`] = ` --- go/jsiicalc/Polymorphism__checks.go --no-runtime-type-checking +++ go/jsiicalc/Polymorphism__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31750,10 +31368,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Polymorphism__no_checks.go.diff 1`] = ` --- go/jsiicalc/Polymorphism__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Polymorphism__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31767,7 +31384,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Power.go.diff 1`] = ` --- go/jsiicalc/Power.go --no-runtime-type-checking +++ go/jsiicalc/Power.go --runtime-type-checking -@@ -116,10 +116,13 @@ +@@ -115,10 +115,13 @@ // Creates a Power operation. func NewPower(base scopejsiicalclib.NumericValue, pow scopejsiicalclib.NumericValue) Power { @@ -31781,7 +31398,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P _jsii_.Create( "jsii-calc.Power", []interface{}{base, pow}, -@@ -139,26 +142,35 @@ +@@ -138,26 +141,35 @@ p, ) } @@ -31822,10 +31439,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Power__checks.go.diff 1`] = ` --- go/jsiicalc/Power__checks.go --no-runtime-type-checking +++ go/jsiicalc/Power__checks.go --runtime-type-checking -@@ -0,0 +1,48 @@ +@@ -0,0 +1,47 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31876,10 +31492,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/Power__no_checks.go.diff 1`] = ` --- go/jsiicalc/Power__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Power__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31905,7 +31520,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/P exports[`Generated code for "jsii-calc": /go/jsiicalc/ReferenceEnumFromScopedPackage.go.diff 1`] = ` --- go/jsiicalc/ReferenceEnumFromScopedPackage.go --no-runtime-type-checking +++ go/jsiicalc/ReferenceEnumFromScopedPackage.go --runtime-type-checking -@@ -76,10 +76,13 @@ +@@ -75,10 +75,13 @@ return returns } @@ -31924,10 +31539,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/ReferenceEnumFromScopedPackage__checks.go.diff 1`] = ` --- go/jsiicalc/ReferenceEnumFromScopedPackage__checks.go --no-runtime-type-checking +++ go/jsiicalc/ReferenceEnumFromScopedPackage__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -31949,10 +31563,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/ReferenceEnumFromScopedPackage__no_checks.go.diff 1`] = ` --- go/jsiicalc/ReferenceEnumFromScopedPackage__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/ReferenceEnumFromScopedPackage__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -31966,7 +31579,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RootStructValidator.go.diff 1`] = ` --- go/jsiicalc/RootStructValidator.go --no-runtime-type-checking +++ go/jsiicalc/RootStructValidator.go --runtime-type-checking -@@ -15,10 +15,13 @@ +@@ -14,10 +14,13 @@ } func RootStructValidator_Validate(struct_ *RootStruct) { @@ -31985,10 +31598,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RootStructValidator__checks.go.diff 1`] = ` --- go/jsiicalc/RootStructValidator__checks.go --no-runtime-type-checking +++ go/jsiicalc/RootStructValidator__checks.go --runtime-type-checking -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32013,10 +31625,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RootStructValidator__no_checks.go.diff 1`] = ` --- go/jsiicalc/RootStructValidator__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/RootStructValidator__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32030,7 +31641,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RuntimeTypeChecking.go.diff 1`] = ` --- go/jsiicalc/RuntimeTypeChecking.go --no-runtime-type-checking +++ go/jsiicalc/RuntimeTypeChecking.go --runtime-type-checking -@@ -59,10 +59,13 @@ +@@ -58,10 +58,13 @@ []interface{}{arg}, ) } @@ -32049,10 +31660,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RuntimeTypeChecking__checks.go.diff 1`] = ` --- go/jsiicalc/RuntimeTypeChecking__checks.go --no-runtime-type-checking +++ go/jsiicalc/RuntimeTypeChecking__checks.go --runtime-type-checking -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32076,10 +31686,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/RuntimeTypeChecking__no_checks.go.diff 1`] = ` --- go/jsiicalc/RuntimeTypeChecking__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/RuntimeTypeChecking__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32093,7 +31702,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/R exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonInt.go.diff 1`] = ` --- go/jsiicalc/SingletonInt.go --no-runtime-type-checking +++ go/jsiicalc/SingletonInt.go --runtime-type-checking -@@ -16,10 +16,13 @@ +@@ -15,10 +15,13 @@ type jsiiProxy_SingletonInt struct { _ byte // padding } @@ -32112,10 +31721,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonInt__checks.go.diff 1`] = ` --- go/jsiicalc/SingletonInt__checks.go --no-runtime-type-checking +++ go/jsiicalc/SingletonInt__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32135,10 +31743,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonInt__no_checks.go.diff 1`] = ` --- go/jsiicalc/SingletonInt__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/SingletonInt__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32152,7 +31759,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonString.go.diff 1`] = ` --- go/jsiicalc/SingletonString.go --no-runtime-type-checking +++ go/jsiicalc/SingletonString.go --runtime-type-checking -@@ -16,10 +16,13 @@ +@@ -15,10 +15,13 @@ type jsiiProxy_SingletonString struct { _ byte // padding } @@ -32171,10 +31778,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonString__checks.go.diff 1`] = ` --- go/jsiicalc/SingletonString__checks.go --no-runtime-type-checking +++ go/jsiicalc/SingletonString__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32194,10 +31800,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SingletonString__no_checks.go.diff 1`] = ` --- go/jsiicalc/SingletonString__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/SingletonString__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32211,7 +31816,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StableClass.go.diff 1`] = ` --- go/jsiicalc/StableClass.go --no-runtime-type-checking +++ go/jsiicalc/StableClass.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ func NewStableClass(readonlyString *string, mutableNumber *float64) StableClass { @@ -32230,10 +31835,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StableClass__checks.go.diff 1`] = ` --- go/jsiicalc/StableClass__checks.go --no-runtime-type-checking +++ go/jsiicalc/StableClass__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32253,10 +31857,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StableClass__no_checks.go.diff 1`] = ` --- go/jsiicalc/StableClass__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/StableClass__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32270,7 +31873,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticContext.go.diff 1`] = ` --- go/jsiicalc/StaticContext.go --no-runtime-type-checking +++ go/jsiicalc/StaticContext.go --runtime-type-checking -@@ -43,10 +43,13 @@ +@@ -42,10 +42,13 @@ return returns } @@ -32289,10 +31892,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticContext__checks.go.diff 1`] = ` --- go/jsiicalc/StaticContext__checks.go --no-runtime-type-checking +++ go/jsiicalc/StaticContext__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32312,10 +31914,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StaticContext__no_checks.go.diff 1`] = ` --- go/jsiicalc/StaticContext__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/StaticContext__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32329,7 +31930,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Statics.go.diff 1`] = ` --- go/jsiicalc/Statics.go --no-runtime-type-checking +++ go/jsiicalc/Statics.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewStatics(value *string) Statics { @@ -32343,7 +31944,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S _jsii_.Create( "jsii-calc.Statics", []interface{}{value}, -@@ -53,10 +56,13 @@ +@@ -52,10 +55,13 @@ // Jsdocs for static method. func Statics_StaticMethod(name *string) *string { @@ -32357,7 +31958,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S _jsii_.StaticInvoke( "jsii-calc.Statics", "staticMethod", -@@ -111,10 +117,13 @@ +@@ -110,10 +116,13 @@ return returns } @@ -32371,7 +31972,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S "instance", val, ) -@@ -131,10 +140,13 @@ +@@ -130,10 +139,13 @@ return returns } @@ -32390,10 +31991,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Statics__checks.go.diff 1`] = ` --- go/jsiicalc/Statics__checks.go --no-runtime-type-checking +++ go/jsiicalc/Statics__checks.go --runtime-type-checking -@@ -0,0 +1,41 @@ +@@ -0,0 +1,40 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32437,10 +32037,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Statics__no_checks.go.diff 1`] = ` --- go/jsiicalc/Statics__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Statics__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32466,7 +32065,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StripInternal.go.diff 1`] = ` --- go/jsiicalc/StripInternal.go --no-runtime-type-checking +++ go/jsiicalc/StripInternal.go --runtime-type-checking -@@ -50,10 +50,13 @@ +@@ -49,10 +49,13 @@ s, ) } @@ -32485,10 +32084,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StripInternal__checks.go.diff 1`] = ` --- go/jsiicalc/StripInternal__checks.go --no-runtime-type-checking +++ go/jsiicalc/StripInternal__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32508,10 +32106,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StripInternal__no_checks.go.diff 1`] = ` --- go/jsiicalc/StripInternal__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/StripInternal__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32525,7 +32122,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructPassing.go.diff 1`] = ` --- go/jsiicalc/StructPassing.go --no-runtime-type-checking +++ go/jsiicalc/StructPassing.go --runtime-type-checking -@@ -40,10 +40,13 @@ +@@ -39,10 +39,13 @@ } func StructPassing_HowManyVarArgsDidIPass(_positional *float64, inputs ...*TopLevelStruct) *float64 { @@ -32539,7 +32136,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S args = append(args, a) } -@@ -60,10 +63,13 @@ +@@ -59,10 +62,13 @@ } func StructPassing_RoundTrip(_positional *float64, input *TopLevelStruct) *TopLevelStruct { @@ -32558,10 +32155,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructPassing__checks.go.diff 1`] = ` --- go/jsiicalc/StructPassing__checks.go --no-runtime-type-checking +++ go/jsiicalc/StructPassing__checks.go --runtime-type-checking -@@ -0,0 +1,40 @@ +@@ -0,0 +1,39 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32604,10 +32200,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructPassing__no_checks.go.diff 1`] = ` --- go/jsiicalc/StructPassing__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/StructPassing__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32625,7 +32220,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructUnionConsumer.go.diff 1`] = ` --- go/jsiicalc/StructUnionConsumer.go --no-runtime-type-checking +++ go/jsiicalc/StructUnionConsumer.go --runtime-type-checking -@@ -15,10 +15,13 @@ +@@ -14,10 +14,13 @@ } func StructUnionConsumer_IsStructA(struct_ interface{}) *bool { @@ -32639,7 +32234,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S _jsii_.StaticInvoke( "jsii-calc.StructUnionConsumer", "isStructA", -@@ -30,10 +33,13 @@ +@@ -29,10 +32,13 @@ } func StructUnionConsumer_IsStructB(struct_ interface{}) *bool { @@ -32653,7 +32248,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S _jsii_.StaticInvoke( "jsii-calc.StructUnionConsumer", "isStructB", -@@ -45,10 +51,13 @@ +@@ -44,10 +50,13 @@ } func StructUnionConsumer_ProvideStruct(which *string) interface{} { @@ -32672,10 +32267,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructUnionConsumer__checks.go.diff 1`] = ` --- go/jsiicalc/StructUnionConsumer__checks.go --no-runtime-type-checking +++ go/jsiicalc/StructUnionConsumer__checks.go --runtime-type-checking -@@ -0,0 +1,91 @@ +@@ -0,0 +1,90 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32769,10 +32363,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/StructUnionConsumer__no_checks.go.diff 1`] = ` --- go/jsiicalc/StructUnionConsumer__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/StructUnionConsumer__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32794,7 +32387,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Sum.go.diff 1`] = ` --- go/jsiicalc/Sum.go --no-runtime-type-checking +++ go/jsiicalc/Sum.go --runtime-type-checking -@@ -126,34 +126,46 @@ +@@ -125,34 +125,46 @@ s, ) } @@ -32846,10 +32439,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Sum__checks.go.diff 1`] = ` --- go/jsiicalc/Sum__checks.go --no-runtime-type-checking +++ go/jsiicalc/Sum__checks.go --runtime-type-checking -@@ -0,0 +1,44 @@ +@@ -0,0 +1,43 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32896,10 +32488,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/Sum__no_checks.go.diff 1`] = ` --- go/jsiicalc/Sum__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/Sum__no_checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32925,7 +32516,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilder.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilder.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilder.go --runtime-type-checking -@@ -62,10 +62,13 @@ +@@ -61,10 +61,13 @@ func NewSupportsNiceJavaBuilder(id *float64, defaultBar *float64, props *SupportsNiceJavaBuilderProps, rest ...*string) SupportsNiceJavaBuilder { @@ -32943,10 +32534,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilder__checks.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilder__checks.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilder__checks.go --runtime-type-checking -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -32972,10 +32562,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilder__no_checks.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilder__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilder__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -32989,7 +32578,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps.go --runtime-type-checking -@@ -51,10 +51,13 @@ +@@ -50,10 +50,13 @@ func NewSupportsNiceJavaBuilderWithRequiredProps(id *float64, props *SupportsNiceJavaBuilderProps) SupportsNiceJavaBuilderWithRequiredProps { @@ -33008,10 +32597,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__checks.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__checks.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__checks.go --runtime-type-checking -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33040,10 +32628,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__no_checks.go.diff 1`] = ` --- go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/SupportsNiceJavaBuilderWithRequiredProps__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33057,7 +32644,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SyncVirtualMethods.go.diff 1`] = ` --- go/jsiicalc/SyncVirtualMethods.go --no-runtime-type-checking +++ go/jsiicalc/SyncVirtualMethods.go --runtime-type-checking -@@ -119,42 +119,57 @@ +@@ -118,42 +118,57 @@ s, ) } @@ -33115,7 +32702,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S "valueOfOtherProperty", val, ) -@@ -185,18 +200,24 @@ +@@ -184,18 +199,24 @@ return returns } @@ -33140,7 +32727,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S "modifyValueOfTheProperty", []interface{}{value}, ) -@@ -253,10 +274,13 @@ +@@ -252,10 +273,13 @@ return returns } @@ -33154,7 +32741,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S _jsii_.Invoke( s, "virtualMethod", -@@ -266,10 +290,13 @@ +@@ -265,10 +289,13 @@ return returns } @@ -33173,10 +32760,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SyncVirtualMethods__checks.go.diff 1`] = ` --- go/jsiicalc/SyncVirtualMethods__checks.go --no-runtime-type-checking +++ go/jsiicalc/SyncVirtualMethods__checks.go --runtime-type-checking -@@ -0,0 +1,81 @@ +@@ -0,0 +1,80 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33260,10 +32846,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/SyncVirtualMethods__no_checks.go.diff 1`] = ` --- go/jsiicalc/SyncVirtualMethods__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/SyncVirtualMethods__no_checks.go --runtime-type-checking -@@ -0,0 +1,43 @@ +@@ -0,0 +1,42 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33309,7 +32894,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/S exports[`Generated code for "jsii-calc": /go/jsiicalc/TestStructWithEnum.go.diff 1`] = ` --- go/jsiicalc/TestStructWithEnum.go --no-runtime-type-checking +++ go/jsiicalc/TestStructWithEnum.go --runtime-type-checking -@@ -66,10 +66,13 @@ +@@ -65,10 +65,13 @@ t, ) } @@ -33323,7 +32908,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/T _jsii_.Invoke( t, "isStringEnumA", -@@ -79,10 +82,13 @@ +@@ -78,10 +81,13 @@ return returns } @@ -33342,10 +32927,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/T exports[`Generated code for "jsii-calc": /go/jsiicalc/TestStructWithEnum__checks.go.diff 1`] = ` --- go/jsiicalc/TestStructWithEnum__checks.go --no-runtime-type-checking +++ go/jsiicalc/TestStructWithEnum__checks.go --runtime-type-checking -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33381,10 +32965,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/T exports[`Generated code for "jsii-calc": /go/jsiicalc/TestStructWithEnum__no_checks.go.diff 1`] = ` --- go/jsiicalc/TestStructWithEnum__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/TestStructWithEnum__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33402,10 +32985,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/T exports[`Generated code for "jsii-calc": /go/jsiicalc/UnaryOperation__checks.go.diff 1`] = ` --- go/jsiicalc/UnaryOperation__checks.go --no-runtime-type-checking +++ go/jsiicalc/UnaryOperation__checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33427,10 +33009,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UnaryOperation__no_checks.go.diff 1`] = ` --- go/jsiicalc/UnaryOperation__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/UnaryOperation__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33444,7 +33025,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UpcasingReflectable.go.diff 1`] = ` --- go/jsiicalc/UpcasingReflectable.go --no-runtime-type-checking +++ go/jsiicalc/UpcasingReflectable.go --runtime-type-checking -@@ -32,10 +32,13 @@ +@@ -31,10 +31,13 @@ func NewUpcasingReflectable(delegate *map[string]interface{}) UpcasingReflectable { @@ -33463,10 +33044,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UpcasingReflectable__checks.go.diff 1`] = ` --- go/jsiicalc/UpcasingReflectable__checks.go --no-runtime-type-checking +++ go/jsiicalc/UpcasingReflectable__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33486,10 +33066,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UpcasingReflectable__no_checks.go.diff 1`] = ` --- go/jsiicalc/UpcasingReflectable__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/UpcasingReflectable__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33503,7 +33082,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UsesInterfaceWithProperties.go.diff 1`] = ` --- go/jsiicalc/UsesInterfaceWithProperties.go --no-runtime-type-checking +++ go/jsiicalc/UsesInterfaceWithProperties.go --runtime-type-checking -@@ -30,10 +30,13 @@ +@@ -29,10 +29,13 @@ func NewUsesInterfaceWithProperties(obj IInterfaceWithProperties) UsesInterfaceWithProperties { @@ -33517,7 +33096,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U _jsii_.Create( "jsii-calc.UsesInterfaceWithProperties", []interface{}{obj}, -@@ -65,10 +68,13 @@ +@@ -64,10 +67,13 @@ return returns } @@ -33531,7 +33110,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U _jsii_.Invoke( u, "readStringAndNumber", -@@ -78,10 +84,13 @@ +@@ -77,10 +83,13 @@ return returns } @@ -33550,10 +33129,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UsesInterfaceWithProperties__checks.go.diff 1`] = ` --- go/jsiicalc/UsesInterfaceWithProperties__checks.go --no-runtime-type-checking +++ go/jsiicalc/UsesInterfaceWithProperties__checks.go --runtime-type-checking -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33589,10 +33167,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/UsesInterfaceWithProperties__no_checks.go.diff 1`] = ` --- go/jsiicalc/UsesInterfaceWithProperties__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/UsesInterfaceWithProperties__no_checks.go --runtime-type-checking -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33614,7 +33191,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/U exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicInvoker.go.diff 1`] = ` --- go/jsiicalc/VariadicInvoker.go --no-runtime-type-checking +++ go/jsiicalc/VariadicInvoker.go --runtime-type-checking -@@ -16,10 +16,13 @@ +@@ -15,10 +15,13 @@ } func NewVariadicInvoker(method VariadicMethod) VariadicInvoker { @@ -33633,10 +33210,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicInvoker__checks.go.diff 1`] = ` --- go/jsiicalc/VariadicInvoker__checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicInvoker__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33656,10 +33232,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicInvoker__no_checks.go.diff 1`] = ` --- go/jsiicalc/VariadicInvoker__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicInvoker__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33673,7 +33248,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicMethod.go.diff 1`] = ` --- go/jsiicalc/VariadicMethod.go --no-runtime-type-checking +++ go/jsiicalc/VariadicMethod.go --runtime-type-checking -@@ -48,10 +48,13 @@ +@@ -47,10 +47,13 @@ v, ) } @@ -33691,10 +33266,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicMethod__checks.go.diff 1`] = ` --- go/jsiicalc/VariadicMethod__checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicMethod__checks.go --runtime-type-checking -@@ -0,0 +1,17 @@ +@@ -0,0 +1,16 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33714,10 +33288,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicMethod__no_checks.go.diff 1`] = ` --- go/jsiicalc/VariadicMethod__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicMethod__no_checks.go --runtime-type-checking -@@ -0,0 +1,11 @@ +@@ -0,0 +1,10 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33731,7 +33304,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicTypeUnion.go.diff 1`] = ` --- go/jsiicalc/VariadicTypeUnion.go --no-runtime-type-checking +++ go/jsiicalc/VariadicTypeUnion.go --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -27,10 +27,13 @@ func NewVariadicTypeUnion(union ...interface{}) VariadicTypeUnion { @@ -33745,7 +33318,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V args = append(args, a) } -@@ -60,10 +63,13 @@ +@@ -59,10 +62,13 @@ v, ) } @@ -33764,10 +33337,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicTypeUnion__checks.go.diff 1`] = ` --- go/jsiicalc/VariadicTypeUnion__checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicTypeUnion__checks.go --runtime-type-checking -@@ -0,0 +1,84 @@ +@@ -0,0 +1,83 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -33854,10 +33426,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VariadicTypeUnion__no_checks.go.diff 1`] = ` --- go/jsiicalc/VariadicTypeUnion__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/VariadicTypeUnion__no_checks.go --runtime-type-checking -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil @@ -33875,7 +33446,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VirtualMethodPlayground.go.diff 1`] = ` --- go/jsiicalc/VirtualMethodPlayground.go --no-runtime-type-checking +++ go/jsiicalc/VirtualMethodPlayground.go --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -41,10 +41,13 @@ v, ) } @@ -33889,7 +33460,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V _jsii_.Invoke( v, "overrideMeAsync", -@@ -55,10 +58,13 @@ +@@ -54,10 +57,13 @@ return returns } @@ -33903,7 +33474,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V _jsii_.Invoke( v, "overrideMeSync", -@@ -68,10 +74,13 @@ +@@ -67,10 +73,13 @@ return returns } @@ -33917,7 +33488,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V _jsii_.Invoke( v, "parallelSumAsync", -@@ -81,10 +90,13 @@ +@@ -80,10 +89,13 @@ return returns } @@ -33931,7 +33502,7 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V _jsii_.Invoke( v, "serialSumAsync", -@@ -94,10 +106,13 @@ +@@ -93,10 +105,13 @@ return returns } @@ -33950,10 +33521,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VirtualMethodPlayground__checks.go.diff 1`] = ` --- go/jsiicalc/VirtualMethodPlayground__checks.go --no-runtime-type-checking +++ go/jsiicalc/VirtualMethodPlayground__checks.go --runtime-type-checking -@@ -0,0 +1,49 @@ +@@ -0,0 +1,48 @@ +//go:build !no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +import ( @@ -34005,10 +33575,9 @@ exports[`Generated code for "jsii-calc": /go/jsiicalc/V exports[`Generated code for "jsii-calc": /go/jsiicalc/VirtualMethodPlayground__no_checks.go.diff 1`] = ` --- go/jsiicalc/VirtualMethodPlayground__no_checks.go --no-runtime-type-checking +++ go/jsiicalc/VirtualMethodPlayground__no_checks.go --runtime-type-checking -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +//go:build no_runtime_type_checking + -+// A simple calcuator built on JSII. +package jsiicalc + +// Building without runtime type checking enabled, so all the below just return nil