Skip to content

Declare PaddingValues and Dp types to squelch warnings#341

Merged
marcprux merged 2 commits intomainfrom
declare-types
Feb 28, 2026
Merged

Declare PaddingValues and Dp types to squelch warnings#341
marcprux merged 2 commits intomainfrom
declare-types

Conversation

@marcprux
Copy link
Member

@marcprux marcprux commented Feb 28, 2026

Fixes warnings introduced in #336:

skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:84:34 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:85:32 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:86:33 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:87:32 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:88:40 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:89:42 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:90:39 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:91:39 Skip is unable to determine the type of this expression. Consider declaring the variable type explicitly, i.e. 'var v: <Type> = ...'
skip-ui/Sources/SkipUI/SkipUI/Layout/Presentation.swift:822:1 This extension will be moved into its extended type definition when translated to Kotlin. It will not be able to access this file's private types or fileprivate members

@cla-bot cla-bot bot added the cla-signed label Feb 28, 2026
@marcprux marcprux merged commit 055bae5 into main Feb 28, 2026
2 checks passed
@marcprux marcprux deleted the declare-types branch February 28, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant