Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare fails #5

Open
sciurius opened this issue Jun 10, 2024 · 0 comments
Open

prepare fails #5

sciurius opened this issue Jun 10, 2024 · 0 comments

Comments

@sciurius
Copy link

swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Target: x86_64-apple-macosx12.0

% ./prepare    
Traceback (most recent call last):
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb", line 3, in <module>
   gyb.main()
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 1251, in main
   result_text = execute_template(ast, args.line_directive, **bindings)
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 1124, in execute_template
   ast.execute(execution_context)
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 626, in execute
   x.execute(context)
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 712, in execute
   result = eval(self.code, context.local_bindings)
 File "/Users/chordpro/tmp/swiftperl/Sources/Perl/Subroutine.swift.gyb", line 234, in <module>
   %   for p in paramsRange(tail):
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 626, in execute
   x.execute(context)
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 712, in execute
   result = eval(self.code, context.local_bindings)
 File "/Users/chordpro/tmp/swiftperl/Sources/Perl/Subroutine.swift.gyb", line 234, in <module>
   %   for p in paramsRange(tail):
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 626, in execute
   x.execute(context)
 File "/Users/chordpro/tmp/swiftperl/.build/gyb/gyb.py", line 712, in execute
   result = eval(self.code, context.local_bindings)
 File "/Users/chordpro/tmp/swiftperl/Sources/Perl/Subroutine.swift.gyb", line 233, in <module>
   % for tail in ("fixed", "array", "hash"):
 File "/Users/chordpro/tmp/swiftperl/Sources/Perl/Subroutine.swift.gyb", line 228, in bodyArgs
   list.append("stack.fetchTail(startingAt: " + str(p) + ")")
AttributeError: 'map' object has no attribute 'append'
Failed to expand gyb template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant