Skip to content

Commit 5dff31e

Browse files
committed
[kotlin] Add support for enums backed by Int64 values
1 parent 8946e03 commit 5dff31e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Generator/Beyond.NET.CodeGenerator/Syntax/Kotlin/KotlinTypeSyntaxWriter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ TypeDescriptorRegistry typeDescriptorRegistry
186186
var valueType = value.GetType();
187187

188188
if (valueType == typeof(int) ||
189+
valueType == typeof(long) ||
189190
valueType == typeof(sbyte) ||
190191
valueType == typeof(byte) ||
191192
valueType == typeof(ushort) ||

0 commit comments

Comments
 (0)