Error E0 with Release Build, Island 10.0.0.2475

Elements 10.0.0.2475, Visual Studio 2019, Island-Windows

The attached project, when do Release build, will give error E0: Internal error: Invalid cast
Howerver, Debug Build has no problem.

It seems to me the following highlighted line has something to do with the error - if I remove that line, the error will disappear.

@ck @mh Could you take a look and help? Thank you.

TensorFlow-Island.7z (498.7 KB)

Thanks, logged as bugs://83832

After I changed the following line:

var localType: &Type := T(aValue[0]).GetType
to
var localType: &Type := typeOf(T)

The build error is gone after the change. I guess this is no longer an issue for me.

bugs://83832 got closed with status fixed.