Skip to content

Integers gets resolved to double after passing in double once #887

Open
@Teja-Paidimarry

Description

@Teja-Paidimarry

Reproducible test here

Steps to reproduce:

  1. Create a async function and pass an integer to it and assert that the return value is an integer.
  2. Pass a double and assert that the return value is a double.
  3. Pass a integer value and assert that the return value is an integer.

Right now, step (3) fails and returns an double.

Note: This only happens when we use an async function. Synchronous function do seem to work fine 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions