Skip to content
  • Olivier Goffart's avatar
    Fix getting type of more complex expressions in model · f0a1ef71
    Olivier Goffart 创作于
    Fixes #2977
    
    The problem is that expressions such as "foo * foo" can be optimized by
    optimization pass to only query the property once, and this is
    transformed in a Expression::CodeBlock and is no longer a
    Expression::Cast(Model)
    So we need to introspect the expression more.
    f0a1ef71