Disable private imports by default

オープン
#1,254 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
swift

調査の方向性

Start by locating the package settings that define ENABLE_PRIVATE_IMPORTS, the macOS, Ubuntu, and iOS unit-test jobs, and the test entry points and contributor instructions. Check how those settings reach the tested libraries and their tests. Done means private imports are off by default, explicit opt-in enables both required settings consistently, and the test instructions explain when to use it.

索引モデルが issue の本文から書いたものです。

説明

area: tooling type: build type: ci

Summary

Disable private imports for normal builds so the compiler can optimize private storage access. Enable them explicitly when tests need private declarations.

Scope

  • Default ENABLE_PRIVATE_IMPORTS to false.
  • Enable private imports in the macOS, Ubuntu, and iOS unit-test jobs.
  • Document how to run tests that require private imports.

Acceptance criteria

  • Default package settings omit the private-import compiler flag and conditional definition.
  • An explicit opt-in enables both settings for the tested libraries and their tests.
  • Test entry points and contributor instructions use consistent settings.
主要言語
Swift
スター
2.5k
フォーク
84
平均マージ
5時間 45分
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenSwiftUIProject/OpenSwiftUI のほかの issue

OpenSwiftUIProject/OpenSwiftUI の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。