Closed yuntan closed 1 year ago
let view = ContentView() try view.inspect().vStack() // -> crash
Thread 1: EXC_BAD_ACCESS (code=1, address=0x6) happens at Inspector.swift line 93. version 0.9.5.
Thread 1: EXC_BAD_ACCESS (code=1, address=0x6)
minimal ContentView:
ContentView
struct ContentView: View { let tag = ContentView.self var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundColor(.accentColor) Text("Hello, world!") } .padding() } }
let tag = ContentView.self is cause of this problem.
let tag = ContentView.self
Please provide a minimal code with which the issue can be reproduced; just two lines aren't helpful
@nalexn updated.
Released in v0.9.8
Thread 1: EXC_BAD_ACCESS (code=1, address=0x6)
happens at Inspector.swift line 93. version 0.9.5.minimal
ContentView
:let tag = ContentView.self
is cause of this problem.