blob: aa7b678d57b93a54afb088c62cf1a2d6a81c8e54 [file] [log] [blame]
/*
* Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion A function literal is an object that encapsulates an executable
* unit of code.
* functionExpression:
* formalParameterList functionExpressionBody
* ;
* @description Checks that the parameter list is required in the form
* ['=>' expression ';'].
* @compile-error
* @author msyabro
* @reviewer kaigorodov
*/
main() {
var func = => 1;
}