Results for ysh-methods.test.sh

statusysh
pass 33
FAIL 10
total43
caseyshdescription
0FAIL => operator for pure computation is allowed (may be mandatory later)
details
1pass => can be used to chain free functions
2pass Str => startsWith(Str) and endsWith(Str), simple
3pass Str => startsWith(Str) and endsWith(Str), matches bytes not runes
4pass Str => startsWith(Str) and endsWith(Str), eggex
5pass Str => startsWith(Str) and endsWith(Str), eggex with anchors
6pass Str => startsWith(Str) and endsWith(Str), eggex matches runes
7pass Str => startsWith(), no args
8pass Str => startsWith(), too many args
9pass Str => endsWith(), no args
10pass Str => endsWith(), too many args
11FAIL Str => trim*() with no args trims whitespace
details
12pass Str => trim*() with a simple string pattern trims pattern
13pass Str => trim*() with a string pattern trims bytes not runes
14pass Str => trim*() with an eggex pattern trims pattern
15pass Str => trim*() with an eggex pattern trims bytes not runes
16pass Str => trim(), too many args
17pass Str => trimStart(), too many args
18pass Str => trimEnd(), too many args
19FAIL Str => trim(), unicode whitespace aware
details
20FAIL Str => trim*(), unicode decoding errors
details
21pass Str => trimStart(), unicode decoding error types
22pass Str => trimEnd(), unicode decoding error types
23pass Str => trim*(), zero-codepoints are not NUL-terminators
24pass Str => split(sep), non-empty str sep
25pass Str => split(sep), eggex sep
26pass Str => split(sep, count), non-empty str sep
27pass Str => split(sep, count), eggex sep
28pass Str => split(), usage errors
29pass Str => split(), non-ascii
30pass Str.lines()
31pass read-lines can be built on top of read --all and Str.lines()
32FAIL Dict => values()
details
33FAIL Dict -> erase()
details
34FAIL Dict -> get()
details
35FAIL Separation of -> attr and () calling
details
36FAIL Bound methods, receiver value/reference semantics
details
37pass List->clear()
38pass List => indexOf()
39pass List => lastIndexOf()
40FAIL List => join()
details
41pass List->reverse()
42pass List->reverse() from iterator
33 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
10 failed under osh

Details on runs that didn't PASS

ysh0 => operator for pure computation is allowed (may be mandatory later)

[ysh stdout] Expected 'yes\nok\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2496, in ParseCommand
    return self.ParseCompoundCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2089, in ParseCompoundCommand
    n4 = self.ParseIf()
  File "/home/uke/oil/osh/cmd_parse.py", line 2012, in ParseIf
    enode = self.w_parser.ParseYshExprForCommand()
  File "/home/uke/oil/osh/word_parse.py", line 1421, in ParseYshExprForCommand
    enode, _ = self.parse_ctx.ParseYshExpr(self.lexer, grammar_nt.ysh_expr)
  File "/home/uke/oil/frontend/parse_lib.py", line 355, in ParseYshExpr
    pnode, last_token = e_parser.Parse(lx, start_symbol)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh11 Str => trim*() with no args trims whitespace

[ysh stdout] Expected '"", "", ""\n"", "", ""\n"mystr", "mystr", "mystr"\n"mystr", " mystr", "mystr"\n"mystr ", "mystr", "mystr"\n"mystr ", " mystr", "mystr"\n"my str ", " my str", "my str"\n' Got '"", "", ""\n'
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
"", "", ""
stderr:
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2487, in ParseCommand
    enode = self.w_parser.ParseCommandExpr()
  File "/home/uke/oil/osh/word_parse.py", line 1432, in ParseCommandExpr
    self.lexer, grammar_nt.command_expr)
  File "/home/uke/oil/frontend/parse_lib.py", line 355, in ParseYshExpr
    pnode, last_token = e_parser.Parse(lx, start_symbol)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh19 Str => trim(), unicode whitespace aware

[ysh stdout] Expected 'YSH\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2554, in ParseCommand
    return self.ParseSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 1222, in ParseSimpleCommand
    redirects, words, typed_args, block = self._ScanSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 904, in _ScanSimpleCommand
    self._GetWord()
  File "/home/uke/oil/osh/cmd_parse.py", line 670, in _GetWord
    w = self.w_parser.ReadWord(self.next_lex_mode)
  File "/home/uke/oil/osh/word_parse.py", line 2327, in ReadWord
    w = self._ReadWord(word_mode)
  File "/home/uke/oil/osh/word_parse.py", line 2244, in _ReadWord
    return self._ReadCompoundOrRedir(lex_mode)
  File "/home/uke/oil/osh/word_parse.py", line 1892, in _ReadCompoundOrRedir
    return self._ReadCompoundOrRedir3(lex_mode, Id.Undefined_Tok, True)
  File "/home/uke/oil/osh/word_parse.py", line 1997, in _ReadCompoundOrRedir3
    part = self._ReadUnquotedLeftParts(is_triple_quoted)
  File "/home/uke/oil/osh/word_parse.py", line 978, in _ReadUnquotedLeftParts
    return self._ReadExprSub(lex_mode_e.ShCommand)
  File "/home/uke/oil/osh/word_parse.py", line 1317, in _ReadExprSub
    self.lexer, grammar_nt.ysh_expr_sub)
  File "/home/uke/oil/frontend/parse_lib.py", line 355, in ParseYshExpr
    pnode, last_token = e_parser.Parse(lx, start_symbol)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh20 Str => trim*(), unicode decoding errors

[ysh stdout] Expected 'trim\nstatus=0\nstatus=3\nstatus=3\ntrimStart\nstatus=0\nstatus=3\ntrimEnd\nstatus=0\nstatus=3\n' Got 'trim\n'
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
trim
stderr:
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2554, in ParseCommand
    return self.ParseSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 1222, in ParseSimpleCommand
    redirects, words, typed_args, block = self._ScanSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 999, in _ScanSimpleCommand
    brace_group = self.ParseBraceGroup()
  File "/home/uke/oil/osh/cmd_parse.py", line 1365, in ParseBraceGroup
    c_list = self._ParseCommandList()
  File "/home/uke/oil/osh/cmd_parse.py", line 2823, in _ParseCommandList
    return self._ParseCommandTerm()
  File "/home/uke/oil/osh/cmd_parse.py", line 2760, in _ParseCommandTerm
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2487, in ParseCommand
    enode = self.w_parser.ParseCommandExpr()
  File "/home/uke/oil/osh/word_parse.py", line 1432, in ParseCommandExpr
    self.lexer, grammar_nt.command_expr)
  File "/home/uke/oil/frontend/parse_lib.py", line 355, in ParseYshExpr
    pnode, last_token = e_parser.Parse(lx, start_symbol)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh32 Dict => values()

[ysh stdout] Expected '(List) ["bonjour","ami","chat"]\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2477, in ParseCommand
    n9 = self.w_parser.ParseMutation(kw_token, self.var_checker)
  File "/home/uke/oil/osh/word_parse.py", line 1356, in ParseMutation
    enode, last_token = self.parse_ctx.ParseMutation(kw_token, self.lexer)
  File "/home/uke/oil/frontend/parse_lib.py", line 324, in ParseMutation
    pnode, last_token = e_parser.Parse(lexer, grammar_nt.ysh_mutation)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh33 Dict -> erase()

[ysh stdout] Expected '(Dict) {"title":"The Histories"}\n(Dict) {"title":"The Histories"}\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2469, in ParseCommand
    n8 = self.w_parser.ParseVarDecl(kw_token)
  File "/home/uke/oil/osh/word_parse.py", line 1334, in ParseVarDecl
    enode, last_token = self.parse_ctx.ParseVarDecl(kw_token, self.lexer)
  File "/home/uke/oil/frontend/parse_lib.py", line 309, in ParseVarDecl
    pnode, last_token = e_parser.Parse(lexer, grammar_nt.ysh_var_decl)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh34 Dict -> get()

[ysh stdout] Expected '(Str) "Hitchhiker\'s Guide"\n(Int) 1979\n(Str) ""\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2469, in ParseCommand
    n8 = self.w_parser.ParseVarDecl(kw_token)
  File "/home/uke/oil/osh/word_parse.py", line 1334, in ParseVarDecl
    enode, last_token = self.parse_ctx.ParseVarDecl(kw_token, self.lexer)
  File "/home/uke/oil/frontend/parse_lib.py", line 309, in ParseVarDecl
    pnode, last_token = e_parser.Parse(lexer, grammar_nt.ysh_var_decl)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh35 Separation of -> attr and () calling

[ysh stdout] Expected '(Bool) true\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2469, in ParseCommand
    n8 = self.w_parser.ParseVarDecl(kw_token)
  File "/home/uke/oil/osh/word_parse.py", line 1334, in ParseVarDecl
    enode, last_token = self.parse_ctx.ParseVarDecl(kw_token, self.lexer)
  File "/home/uke/oil/frontend/parse_lib.py", line 309, in ParseVarDecl
    pnode, last_token = e_parser.Parse(lexer, grammar_nt.ysh_var_decl)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh36 Bound methods, receiver value/reference semantics

[ysh stdout] Expected '(List) ["foo"]\n(List) ["foo","baz"]\n(Bool) true\n(Bool) true\n' Got ''
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
stderr: 
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2469, in ParseCommand
    n8 = self.w_parser.ParseVarDecl(kw_token)
  File "/home/uke/oil/osh/word_parse.py", line 1334, in ParseVarDecl
    enode, last_token = self.parse_ctx.ParseVarDecl(kw_token, self.lexer)
  File "/home/uke/oil/frontend/parse_lib.py", line 309, in ParseVarDecl
    pnode, last_token = e_parser.Parse(lexer, grammar_nt.ysh_var_decl)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'
ysh40 List => join()

[ysh stdout] Expected '"123"\n"1 2 3"\n"1, 2, 3"\nfailed with status 3\n' Got '"123"\n'
[ysh status] Expected 0 Got 1
[ysh stderr] Found 'Traceback (most recent'

stdout:
"123"
stderr:
Traceback (most recent call last):
  File "/home/uke/oil/bin/oils_for_unix.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/home/uke/oil/bin/oils_for_unix.py", line 232, in main
    return AppBundleMain(argv)
  File "/home/uke/oil/bin/oils_for_unix.py", line 186, in AppBundleMain
    return shell.Main(lang, arg_r, environ, login_shell, loader, readline)
  File "/home/uke/oil/core/shell.py", line 1296, in Main
    cmd_flags=cmd_eval.IsMainProgram)
  File "/home/uke/oil/core/main_loop.py", line 336, in Batch
    was_parsed, status = Batch2(cmd_ev, c_parser, errfmt, cmd_flags=cmd_flags)
  File "/home/uke/oil/core/main_loop.py", line 375, in Batch2
    node = c_parser.ParseLogicalLine()  # can raise ParseError
  File "/home/uke/oil/osh/cmd_parse.py", line 2839, in ParseLogicalLine
    node = self._ParseCommandLine()
  File "/home/uke/oil/osh/cmd_parse.py", line 2695, in _ParseCommandLine
    child = self.ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2619, in ParseAndOr
    return self._ParseAndOr()
  File "/home/uke/oil/osh/cmd_parse.py", line 2630, in _ParseAndOr
    child = self.ParsePipeline()
  File "/home/uke/oil/osh/cmd_parse.py", line 2578, in ParsePipeline
    child = self.ParseCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 2554, in ParseCommand
    return self.ParseSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 1222, in ParseSimpleCommand
    redirects, words, typed_args, block = self._ScanSimpleCommand()
  File "/home/uke/oil/osh/cmd_parse.py", line 975, in _ScanSimpleCommand
    grammar_nt.ysh_eager_arglist)
  File "/home/uke/oil/osh/word_parse.py", line 1778, in ParseProcCallArgs
    self.parse_ctx.ParseProcCallArgs(self.lexer, arg_list, start_symbol)
  File "/home/uke/oil/frontend/parse_lib.py", line 338, in ParseProcCallArgs
    pnode, last_token = e_parser.Parse(lx, start_symbol)
  File "/home/uke/oil/ysh/expr_parse.py", line 357, in Parse
    self.push_parser, lexer)
  File "/home/uke/oil/ysh/expr_parse.py", line 273, in _PushYshTokens
    last_token = w_parser.ReadDoubleQuoted(left_token, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1200, in ReadDoubleQuoted
    self._ReadLikeDQ(left_token, True, parts)
  File "/home/uke/oil/osh/word_parse.py", line 1100, in _ReadLikeDQ
    elif self.token_type == Id.Lit_EscapedDoubleQuote:
AttributeError: type object 'Id' has no attribute 'Lit_EscapedDoubleQuote'