summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog015/prog015.script
blob: b098c67d121401584ec2e4be646289dd2385fe12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
:load TopLevel

:complete repl "import Le"
-- should list Level1 and Level2.Levele2

:complete repl 1 "import Le"
-- should list Level1

:complete repl 2-3 "import Le"
-- should list Level2.Level2

:complete repl "import Level."
-- should list nothing

:complete repl "import Level2"
-- should list Level2.Levele2

:complete repl "import Level2."
-- same output

:complete repl "import Level2.W"
-- should list nothing

:complete repl "import Level2.L"
-- should list Level2.Level2