mirror of
https://github.com/dart-lang/sdk
synced 2024-09-04 16:03:44 +00:00
Don't use => on void functions.
Fixes #26740 BUG= http://dartbug.com/26740 R=sra@google.com Review URL: https://codereview.chromium.org/2118633002 .
This commit is contained in:
parent
9413d62bf6
commit
badabcc53a
|
@ -483,12 +483,14 @@ class AudioNode extends EventTarget {
|
|||
void disconnect([destination_OR_output, int output, int input]) native;
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
|
||||
_connect(destination, output, input);
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
|
||||
_connect(destination, output, input);
|
||||
}
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectParam(AudioParam destination, [int output = 0]) =>
|
||||
_connect(destination, output);
|
||||
void connectParam(AudioParam destination, [int output = 0]) {
|
||||
_connect(destination, output);
|
||||
}
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
|
|
@ -689,12 +689,14 @@ class AudioNode extends EventTarget {
|
|||
}
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
|
||||
_connect(destination, output, input);
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
|
||||
_connect(destination, output, input);
|
||||
}
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectParam(AudioParam destination, [int output = 0]) =>
|
||||
_connect(destination, output);
|
||||
void connectParam(AudioParam destination, [int output = 0]) {
|
||||
_connect(destination, output);
|
||||
}
|
||||
}
|
||||
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
|
|
|
@ -7,10 +7,12 @@ part of web_audio;
|
|||
$(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS {
|
||||
$!MEMBERS
|
||||
@DomName('AudioNode.connect')
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
|
||||
_connect(destination, output, input);
|
||||
void connectNode(AudioNode destination, [int output = 0, int input = 0]) {
|
||||
_connect(destination, output, input);
|
||||
}
|
||||
|
||||
@DomName('AudioNode.connect')
|
||||
void connectParam(AudioParam destination, [int output = 0]) =>
|
||||
_connect(destination, output);
|
||||
void connectParam(AudioParam destination, [int output = 0]) {
|
||||
_connect(destination, output);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue