VB.NET project with build error compiles successfully in Mercury?

Elements 10.0.0.2607

The attached VBProj project has a build error:

Option Strict On disallows implicit conversions from ‘Double’ to ‘Integer’.

But when I convert it to Mercury, it compiles successfully without issue. In the Mercury project settings, it knows that Option Strict is On, so I’m not sure what is going on here. There isn’t a warning either. Strange.

WarningSampleMercury.zip (2.4 MB)

Same behavior in Water.

–Avonelle

Thanks, logged as bugs://85658

Option Strict On: Implicit widening conversions only
Option Strict Off: Implicit Widening and Narrowing conversions are bot allowed

1 Like

bugs://85658 got closed with status fixed.