Open sam-at-pieces opened 2 weeks ago
This block of code was classified as Scala when it should have been classified as Swift.
macOS 14.5 PiecesOS 9.0.5 Pieces Desktop App 2.12.3
The code was copied and pasted from Xcode.
struct ContentView: View {
@State private var tabController: Tab = .signup
enum Tab {
case signup
case user
case receipts
}
var body: some View {
TabView {
UserLoginScreen()
.tabItem {
Label("Account", systemImage: "gear")
}.tag(Tab.signup)
UserListView()
.tabItem {
Label("Employees", systemImage: "person.fill")
}.tag(Tab.user)
FuelFarmDeliveryView()
.tabItem {
Label("Receipts", systemImage: "doc.fill")
}.tag(Tab.receipts)
}
}
}
@GeoMod I am taking a deeper look at this but I am having trouble reproducing the issue with the same versions you detail above, for me we get a strong swift classification out of the box. Would you be happy to jump on a quick call to resolve?
Software
Pieces OS
Operating System / Platform
macOS
Your Pieces OS Version
1.0.0
Early Access Program
Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.
This is a place to collect misclassifications in the classifier. To be as helpful as possible, please post the snippet that was misclassified, the language it was misclassified as and the true classification.