Egor Zhdan

Results 10 issues of Egor Zhdan

**\* Terminating app due to uncaught exception 'NSRangeException', reason: 'NSRLEArray objectAtIndex:effectiveRange:: Out of bounds' terminate called throwing an exception abort() called Some users see this on launch on OS X...

If I enable 200% scaling in the Windows display settings, labels produced by Swift/Win32 appear cropped in half. Normally scaling is handled by `View.frame.didSet`: https://github.com/compnerd/swift-win32/blob/2867392ac45f2ed66077ba664dea761687432ee4/Sources/SwiftWin32/Views%20and%20Controls/View.swift#L358 However, the `Label` component creates...

**Explanation**: This fixes one of the tests which wasn't fully correct: the compiler might optimize away one of the copies, which would make the test fail. **Scope**: This is a...

c++ interop

This got unblocked by https://github.com/apple/swift/pull/64897. rdar://107909624

c++ interop

One of the test cases in that file crashes during execution on Linux. It is currently disabled to unblock CI, please remove `#if !os(Linux)` to reproduce the crash.

bug
c++ interop
compiler

Instead of appending characters one-by-one, which resizes the resulting string multiple times, let's reserve the required number of bytes beforehand. rdar://127423949 (cherry picked from commit 4513ca2447bd4ddd2d010ae7c59eb9f0eb51b652)

c++ interop

This teaches IRGen to only emit a lifetime operation (retain or release) for a C++ foreign reference type if the pointer is not `nullptr`. Previously the compiler would in some...

c++ interop