swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.04k stars 10.32k forks source link

[SR-1240] Fix layering violations in libSwiftAST #43848

Open belkadan opened 8 years ago

belkadan commented 8 years ago
Previous ID SR-1240
Radar None
Original Reporter @belkadan
Type Task
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Task | |Assignee | None | |Priority | Medium | md5: 7ed35162c69fb040a8f74bdbba0acce4

Issue Description:

The AST library references several symbols from other libraries:

For the Lexer ones, we should probably sink the Lexer into libSwiftBasic, or break it out into its own library. For the others, we should see if we can sink them into libSwiftAST, or failing that if we can lift the calling functions up to wherever the missing symbols are.

Note: to reproduce this list, edit the CMakeLists.txt file in unittest/AST/ to only link swiftAST.

Dante-Broggi commented 5 years ago

Is this resolved, or no longer valid? If either, this should be closed.

belkadan commented 5 years ago

Unresolved. :-(