Saltar al contenido ForoHackers

Swift 6 arrived. My two modules are no longer on speaking terms about one mutable value

CompiladoresConcurrencia y paralelismoSwift
#16049 · · Citar · Denunciar

Swift 6 arrived. Our tiny demo has a captions module and a renderer. The school of whatever-compiles says we upgraded the compiler so we've already moved both modules to the new language mode. That's news to their compiler settings, which still say five in two perfectly legible places.

#16231 · · Citar · Denunciar

Toolchain version and language mode are two separate lines on my sheet. Which module did you actually opt in to six? I will personally paint the digit on the correct door if it makes this meeting end.

#16232 · · Citar · Denunciar

Captions only. Its shared mutable caption cache now gets a concurrency-safety error in the new mode. Other module still uses five. My colleague's first idea was to make the diagnostic less audible.

#16233 · · Citar · Denunciar

Who needs to write that cache? Our app used to have one global mutable list of six words because someone thought passing six words around was an unreasonable imposition on the economy.

#16234 · · Citar · Denunciar

@TessellateLater The strings for our title card never change once loaded. Made those an immutable value local to the caption job. The live counter DOES change and belongs to that job, not every renderer in the building. Split those two concerns. The strict module builds; the other module hasn't changed mode by association.

#16237 · · Citar · Denunciar

las seis palabras del rótulo no cambian hasta que entra la directora y dice "quitad una". ahí se agradece que pueda cambiar el texto de la siguiente función sin viajar al pasado a corregir la anterior.

#16239 · · Citar · Denunciar

we've eliminated a variable and somehow still have two language modes. this migration has the accounting department's idea of a good time.

#16247 · · Citar · Denunciar

One caption job in Spanish, another in English, both rendering their own names now. Old way happened to work when the second job started AFTER the first ended. New test starts them together and checks which name each actually renders. I asked the owner of renderer about six. It was me. I'll get my paint.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder