There is a warning when a cast is performed inside {}