Skip to content

No warning/error on invalid cast #12

Description

@folknor

Hi

So for example if you have this code:

int factor = input.float(0.7, "Factor")

The extension will not error, but this does error in tradingview, because you can't cast float to int.

I've not tested if this applies to variable casting as well or only inputs.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions