Skip to content

cmd/compile: conversion from int/float typed constant to complex variable changed in 1.14 [1.14 backport] #38123

Closed
@gopherbot

Description

@gopherbot

@ianlancetaylor requested issue #38117 to be considered for backport to the next 1.14 minor release.

Looks like we're going back to the 1.13 behavior. I'll let @griesemer review the CL, but:

@gopherbot Please open a backport to 1.14.

The compiler behavior changed the way it handles constant conversions. This can break existing programs with no workaround other than rewriting the program, which should not be needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions