[ 
https://issues.apache.org/jira/browse/THRIFT-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuxuan Wang resolved THRIFT-5270.
---------------------------------
    Fix Version/s: 0.14.0
       Resolution: Fixed

> Go library unit test is broken in go 1.15
> -----------------------------------------
>
>                 Key: THRIFT-5270
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5270
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.13.0
>            Reporter: Yuxuan Wang
>            Assignee: Yuxuan Wang
>            Priority: Major
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When running go test with go 1.15, it fails with:
> {code}
> ./field.go:58:83: conversion from int to string yields a string of one rune, 
> not a string of digits (did you mean fmt.Sprint(x)?)
> ./numeric.go:72:12: conversion from int64 to string yields a string of one 
> rune, not a string of digits (did you mean fmt.Sprint(x)?)
> ./json_protocol_test.go:612:92: conversion from int to string yields a string 
> of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
> ./simple_json_protocol_test.go:685:96: conversion from int to string yields a 
> string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
> {code}
> This is likely a newly enabled go vet check in go 1.15 (go test auto executes 
> go vet and fails if go vet fails).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to