pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/AssemblyScript/assemblyscript/pull/3021/files

s://github.githubassets.com/assets/code-faf4e82192a865fe.css" /> feat: multi-value returns by JairusSW · Pull Request #3021 · AssemblyScript/assemblyscript · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ export abstract class Node {
elements: TypeNode[],
elementNames: (IdentifierExpression | null)[] | null,
isNullable: bool,
range: Range
range: Range,
isReadonly: bool = false
): TupleTypeNode {
return new TupleTypeNode(elements, elementNames, isNullable, range);
return new TupleTypeNode(elements, elementNames, isNullable, range, isReadonly);
}

static createOmittedType(
Expand Down Expand Up @@ -954,7 +955,9 @@ export class TupleTypeNode extends TypeNode {
/** Whether nullable or not. */
isNullable: bool,
/** Source range. */
range: Range
range: Range,
/** Whether this is a readonly tuple. */
public isReadonly: bool = false
) {
super(NodeKind.TupleType, isNullable, range);
}
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy