diff --git a/CHANGELOG.md b/CHANGELOG.md index ebd3e9ed3c..8e1e56d2e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,10 +11,10 @@ tag versions. The Bond compiler (`gbc`) and different versioning scheme, following the Haskell community's [package versioning policy](https://wiki.haskell.org/Package_versioning_policy). -## Yet to be released ## +## 4.1.0: 2016-04-22 -* `gbc` & compiler library: TBD -* C# NuGet version: TBD +* `gbc` & compiler library: 0.4.0.2 +* C# NuGet version: 4.1.0 ### `gbc` ### @@ -33,6 +33,8 @@ different versioning scheme, following the Haskell community's ### C# ### +* The generated C# code now compiles with no errors or warnings at + `/warn:4`. [Issue #82](https://github.com/Microsoft/bond/issues/82) * Enums are now cast to 32-bit integers to avoid some compiler warnings. * [Implicit conversion between `bond.GUID` and `System.Guid`](https://github.com/Microsoft/bond/blob/bc4c56a3ca0858f4bd93916e80ceff9bbeada606/cs/test/core/GuidConversionTests.cs#L14) has been added. diff --git a/compiler/bond.cabal b/compiler/bond.cabal index fbb0e749f4..8fe1f25176 100644 --- a/compiler/bond.cabal +++ b/compiler/bond.cabal @@ -2,7 +2,7 @@ -- Licensed under the MIT license. See LICENSE file in the project root for full license information. name: bond -version: 0.4.0.1 +version: 0.4.0.2 cabal-version: >= 1.8 tested-with: GHC>=7.4.1 synopsis: Bond schema compiler and code generator diff --git a/compiler/tests/generated/alias_key_types.h b/compiler/tests/generated/alias_key_types.h index e2cabcef04..7884c468ad 100644 --- a/compiler/tests/generated/alias_key_types.h +++ b/compiler/tests/generated/alias_key_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/alias_with_allocator_types.h b/compiler/tests/generated/alias_with_allocator_types.h index 2bb188e755..bcb75bc3f9 100644 --- a/compiler/tests/generated/alias_with_allocator_types.h +++ b/compiler/tests/generated/alias_with_allocator_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/aliases_types.cs b/compiler/tests/generated/aliases_types.cs index 9254807d21..1de8b600a0 100644 --- a/compiler/tests/generated/aliases_types.cs +++ b/compiler/tests/generated/aliases_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0), global::Bond.Type(typeof(List>))] diff --git a/compiler/tests/generated/aliases_types.h b/compiler/tests/generated/aliases_types.h index ec0c6e18a8..59f22dfd0b 100644 --- a/compiler/tests/generated/aliases_types.h +++ b/compiler/tests/generated/aliases_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/alias_key_types.h b/compiler/tests/generated/allocator/alias_key_types.h index 6d59caa56c..32fa518b84 100644 --- a/compiler/tests/generated/allocator/alias_key_types.h +++ b/compiler/tests/generated/allocator/alias_key_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/aliases_types.h b/compiler/tests/generated/allocator/aliases_types.h index f80a78cbb6..453a5c3205 100644 --- a/compiler/tests/generated/allocator/aliases_types.h +++ b/compiler/tests/generated/allocator/aliases_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/attributes_types.h b/compiler/tests/generated/allocator/attributes_types.h index 98d3259f36..1157b54013 100644 --- a/compiler/tests/generated/allocator/attributes_types.h +++ b/compiler/tests/generated/allocator/attributes_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/basic_types_types.h b/compiler/tests/generated/allocator/basic_types_types.h index 48761af2ee..52927f2123 100644 --- a/compiler/tests/generated/allocator/basic_types_types.h +++ b/compiler/tests/generated/allocator/basic_types_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/complex_types_types.h b/compiler/tests/generated/allocator/complex_types_types.h index 11b0a037bc..ac79c0a9a2 100644 --- a/compiler/tests/generated/allocator/complex_types_types.h +++ b/compiler/tests/generated/allocator/complex_types_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/defaults_types.h b/compiler/tests/generated/allocator/defaults_types.h index 5eac8807e8..6e2f39c2cd 100644 --- a/compiler/tests/generated/allocator/defaults_types.h +++ b/compiler/tests/generated/allocator/defaults_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/empty_types.h b/compiler/tests/generated/allocator/empty_types.h index 654280dd03..3616a6107e 100644 --- a/compiler/tests/generated/allocator/empty_types.h +++ b/compiler/tests/generated/allocator/empty_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/field_modifiers_types.h b/compiler/tests/generated/allocator/field_modifiers_types.h index ec636886d3..2f8cc404f1 100644 --- a/compiler/tests/generated/allocator/field_modifiers_types.h +++ b/compiler/tests/generated/allocator/field_modifiers_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/generics_types.h b/compiler/tests/generated/allocator/generics_types.h index 53cf3c99e9..93fdb6578c 100644 --- a/compiler/tests/generated/allocator/generics_types.h +++ b/compiler/tests/generated/allocator/generics_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/inheritance_types.h b/compiler/tests/generated/allocator/inheritance_types.h index 4e4cdffb2a..e64b7a8999 100644 --- a/compiler/tests/generated/allocator/inheritance_types.h +++ b/compiler/tests/generated/allocator/inheritance_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/allocator/maybe_blob_types.h b/compiler/tests/generated/allocator/maybe_blob_types.h index af499ac6b4..2b318e7d1d 100644 --- a/compiler/tests/generated/allocator/maybe_blob_types.h +++ b/compiler/tests/generated/allocator/maybe_blob_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/attributes_types.cs b/compiler/tests/generated/attributes_types.cs index 845a68de74..8b6d956f21 100644 --- a/compiler/tests/generated/attributes_types.cs +++ b/compiler/tests/generated/attributes_types.cs @@ -19,7 +19,7 @@ namespace tests [global::Bond.Attribute("EnumAttribute1", "one")] [global::Bond.Attribute("EnumAttribute2", "two")] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public enum Enum { Value1, @@ -28,7 +28,7 @@ public enum Enum [global::Bond.Attribute("StructAttribute1", "one")] [global::Bond.Attribute("StructAttribute2", "two")] [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Attribute("FieldAttribute1", "one")] diff --git a/compiler/tests/generated/attributes_types.h b/compiler/tests/generated/attributes_types.h index c6c169072f..b278095439 100644 --- a/compiler/tests/generated/attributes_types.h +++ b/compiler/tests/generated/attributes_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/basic_types_types.cs b/compiler/tests/generated/basic_types_types.cs index b064a0d183..884ae2a027 100644 --- a/compiler/tests/generated/basic_types_types.cs +++ b/compiler/tests/generated/basic_types_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class BasicTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/basic_types_types.h b/compiler/tests/generated/basic_types_types.h index 95d22c5794..90e99c4158 100644 --- a/compiler/tests/generated/basic_types_types.h +++ b/compiler/tests/generated/basic_types_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/collection-interfaces/aliases_types.cs b/compiler/tests/generated/collection-interfaces/aliases_types.cs index bd2556ae1b..6c89c32b90 100644 --- a/compiler/tests/generated/collection-interfaces/aliases_types.cs +++ b/compiler/tests/generated/collection-interfaces/aliases_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0), global::Bond.Type(typeof(List>))] diff --git a/compiler/tests/generated/collection-interfaces/attributes_types.cs b/compiler/tests/generated/collection-interfaces/attributes_types.cs index 845a68de74..8b6d956f21 100644 --- a/compiler/tests/generated/collection-interfaces/attributes_types.cs +++ b/compiler/tests/generated/collection-interfaces/attributes_types.cs @@ -19,7 +19,7 @@ namespace tests [global::Bond.Attribute("EnumAttribute1", "one")] [global::Bond.Attribute("EnumAttribute2", "two")] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public enum Enum { Value1, @@ -28,7 +28,7 @@ public enum Enum [global::Bond.Attribute("StructAttribute1", "one")] [global::Bond.Attribute("StructAttribute2", "two")] [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Attribute("FieldAttribute1", "one")] diff --git a/compiler/tests/generated/collection-interfaces/basic_types_types.cs b/compiler/tests/generated/collection-interfaces/basic_types_types.cs index b064a0d183..884ae2a027 100644 --- a/compiler/tests/generated/collection-interfaces/basic_types_types.cs +++ b/compiler/tests/generated/collection-interfaces/basic_types_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class BasicTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/complex_types_types.cs b/compiler/tests/generated/collection-interfaces/complex_types_types.cs index 5564f6ebc2..798073e57e 100644 --- a/compiler/tests/generated/collection-interfaces/complex_types_types.cs +++ b/compiler/tests/generated/collection-interfaces/complex_types_types.cs @@ -18,14 +18,14 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class ComplexTypes { [global::Bond.Id(0), global::Bond.Type(typeof(LinkedList))] diff --git a/compiler/tests/generated/collection-interfaces/defaults_types.cs b/compiler/tests/generated/collection-interfaces/defaults_types.cs index 177fdcf4f6..22b7b0edcd 100644 --- a/compiler/tests/generated/collection-interfaces/defaults_types.cs +++ b/compiler/tests/generated/collection-interfaces/defaults_types.cs @@ -17,7 +17,7 @@ namespace tests { using System.Collections.Generic; - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public enum EnumType1 { EnumValue1 = unchecked((int)5), @@ -34,7 +34,7 @@ public enum EnumType1 } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs b/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs index 1a18a5cd7b..660f673e90 100644 --- a/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs +++ b/compiler/tests/generated/collection-interfaces/field_modifiers_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/collection-interfaces/generics_types.cs b/compiler/tests/generated/collection-interfaces/generics_types.cs index a11016282f..3470c50a1f 100644 --- a/compiler/tests/generated/collection-interfaces/generics_types.cs +++ b/compiler/tests/generated/collection-interfaces/generics_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo where T2 : struct { diff --git a/compiler/tests/generated/collection-interfaces/inheritance_types.cs b/compiler/tests/generated/collection-interfaces/inheritance_types.cs index bd2da14326..9466b04765 100644 --- a/compiler/tests/generated/collection-interfaces/inheritance_types.cs +++ b/compiler/tests/generated/collection-interfaces/inheritance_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Base { [global::Bond.Id(0)] @@ -35,7 +35,7 @@ protected Base(string fullName, string name) } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo : Base { diff --git a/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs b/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs index 8924507f81..a92a0bac8c 100644 --- a/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs +++ b/compiler/tests/generated/collection-interfaces/nullable_alias_types.cs @@ -18,7 +18,7 @@ namespace test using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class foo { [global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable))] diff --git a/compiler/tests/generated/complex_types_types.cs b/compiler/tests/generated/complex_types_types.cs index 61b1e219d3..92eb144bdf 100644 --- a/compiler/tests/generated/complex_types_types.cs +++ b/compiler/tests/generated/complex_types_types.cs @@ -18,14 +18,14 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class ComplexTypes { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/complex_types_types.h b/compiler/tests/generated/complex_types_types.h index 5f06c469dd..8f8d0d9c34 100644 --- a/compiler/tests/generated/complex_types_types.h +++ b/compiler/tests/generated/complex_types_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/custom_alias_with_allocator_types.h b/compiler/tests/generated/custom_alias_with_allocator_types.h index b8dbdfddaf..6c4f95d4e7 100644 --- a/compiler/tests/generated/custom_alias_with_allocator_types.h +++ b/compiler/tests/generated/custom_alias_with_allocator_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/custom_alias_without_allocator_types.h b/compiler/tests/generated/custom_alias_without_allocator_types.h index e3fd418775..bfb2af742b 100644 --- a/compiler/tests/generated/custom_alias_without_allocator_types.h +++ b/compiler/tests/generated/custom_alias_without_allocator_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/defaults_types.cs b/compiler/tests/generated/defaults_types.cs index 177fdcf4f6..22b7b0edcd 100644 --- a/compiler/tests/generated/defaults_types.cs +++ b/compiler/tests/generated/defaults_types.cs @@ -17,7 +17,7 @@ namespace tests { using System.Collections.Generic; - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public enum EnumType1 { EnumValue1 = unchecked((int)5), @@ -34,7 +34,7 @@ public enum EnumType1 } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/defaults_types.h b/compiler/tests/generated/defaults_types.h index 325a389e83..05449dfdbc 100644 --- a/compiler/tests/generated/defaults_types.h +++ b/compiler/tests/generated/defaults_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/empty_types.h b/compiler/tests/generated/empty_types.h index a7aeafac4b..318534756a 100644 --- a/compiler/tests/generated/empty_types.h +++ b/compiler/tests/generated/empty_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/field_modifiers_types.cs b/compiler/tests/generated/field_modifiers_types.cs index 1a18a5cd7b..660f673e90 100644 --- a/compiler/tests/generated/field_modifiers_types.cs +++ b/compiler/tests/generated/field_modifiers_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo { [global::Bond.Id(0)] diff --git a/compiler/tests/generated/field_modifiers_types.h b/compiler/tests/generated/field_modifiers_types.h index 218a21cc13..90e4e00a00 100644 --- a/compiler/tests/generated/field_modifiers_types.h +++ b/compiler/tests/generated/field_modifiers_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/generics_types.cs b/compiler/tests/generated/generics_types.cs index a11016282f..3470c50a1f 100644 --- a/compiler/tests/generated/generics_types.cs +++ b/compiler/tests/generated/generics_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo where T2 : struct { diff --git a/compiler/tests/generated/generics_types.h b/compiler/tests/generated/generics_types.h index 81362b703f..2feb4269c6 100644 --- a/compiler/tests/generated/generics_types.h +++ b/compiler/tests/generated/generics_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/inheritance_types.cs b/compiler/tests/generated/inheritance_types.cs index bd2da14326..9466b04765 100644 --- a/compiler/tests/generated/inheritance_types.cs +++ b/compiler/tests/generated/inheritance_types.cs @@ -18,7 +18,7 @@ namespace tests using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Base { [global::Bond.Id(0)] @@ -35,7 +35,7 @@ protected Base(string fullName, string name) } [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class Foo : Base { diff --git a/compiler/tests/generated/inheritance_types.h b/compiler/tests/generated/inheritance_types.h index 80a98b78ba..49890e304a 100644 --- a/compiler/tests/generated/inheritance_types.h +++ b/compiler/tests/generated/inheritance_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/maybe_blob_types.h b/compiler/tests/generated/maybe_blob_types.h index 960b57ed6d..180fe0e0a2 100644 --- a/compiler/tests/generated/maybe_blob_types.h +++ b/compiler/tests/generated/maybe_blob_types.h @@ -8,7 +8,7 @@ #error and is incompatible with your version Bond library. #endif -#if BOND_MIN_CODEGEN_VERSION > 0x0401 +#if BOND_MIN_CODEGEN_VERSION > 0x0402 #error This file was generated by an older version of Bond compiler #error and is incompatible with your version Bond library. #endif diff --git a/compiler/tests/generated/nullable_alias_types.cs b/compiler/tests/generated/nullable_alias_types.cs index 8924507f81..a92a0bac8c 100644 --- a/compiler/tests/generated/nullable_alias_types.cs +++ b/compiler/tests/generated/nullable_alias_types.cs @@ -18,7 +18,7 @@ namespace test using System.Collections.Generic; [global::Bond.Schema] - [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.1")] + [System.CodeDom.Compiler.GeneratedCode("gbc", "0.4.0.2")] public partial class foo { [global::Bond.Id(1), global::Bond.Type(typeof(global::Bond.Tag.nullable))]