mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-09-11 14:56:19 +03:00
Fix creating import ids.
This commit is contained in:
parent
44a3dfcbac
commit
d4a3455ac7
@ -50,7 +50,7 @@ object HaskellElementFactory {
|
||||
}
|
||||
|
||||
def createImportId(project: Project, identifier: String): Option[HaskellImportId] = {
|
||||
createElement(project, surroundWithParensIfSymbol(project, identifier), classOf[HaskellImportId])
|
||||
createElement(project, s"import Foo(${surroundWithParensIfSymbol(project, identifier)})", classOf[HaskellImportId])
|
||||
}
|
||||
|
||||
def createQualifiedNameElement(project: Project, name: String): Option[HaskellQualifiedNameElement] = {
|
||||
|
Loading…
Reference in New Issue
Block a user