Kotlin: Give fields a Kotlin type

This meant refactoring the EnumEntry extraction a bit. The IR doesn't
give us a type for fields, so we have to make it up based on the parent.
This commit is contained in:
Ian Lynagh
2021-11-03 11:21:18 +00:00
parent e120059a18
commit c20ee76826
6 changed files with 50 additions and 34 deletions

View File

@@ -353,6 +353,7 @@ fields(
unique int id: @field,
string nodeName: string ref,
int typeid: @type ref,
int kttypeid: @kt_type ref,
int parentid: @reftype ref,
int sourceid: @field ref
);