mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In source files that are in script mode, global variable initialization expressions are eagerly executed. For this reason, disallow @availability attributes having 'introduced=' on script-mode globals. I had to rejigger a fair number of potential unavailability tests because they weren't written with this distinction in mind. Swift SVN r27137