alibaba / alibaba/HandyJSON

HandyJSON 4.1.3 public func <-- 报错

Open
#383 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

一pod下来就报错 是怎么回事 麻烦大佬 看看
// MARK: implicitly unwrap optional properties
public func <-- (property: inout Transform.Object!, transformer: Transform) -> CustomMappingKeyValueTuple {
return property <-- (nil, transformer)
}

public func <-- (property: inout Transform.Object!, transformer: (String?, Transform?)) -> CustomMappingKeyValueTuple {
let names = (transformer.0 == nil ? [] : [transformer.0!])
return property <-- (names, transformer.1)
}

public func <-- (property: inout Transform.Object!, transformer: ([String], Transform?)) -> CustomMappingKeyValueTuple {

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported failure with HandyJSON 4.1.3 after a pod install, using the three public <--> overloads shown in the issue as the starting point. Capture the complete compiler error and environment details; the issue is done when the cause is identified and the affected package build is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.