prog015.script 481 Bytes
Newer Older
Geraldus's avatar
Geraldus committed
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