shinjixxxxx / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

allow simple concat of strings 'too' + 'long'' in goog.provide() and goog.require() #590

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Create a new class with the class path with class name is > 80 chars
2. add a goog.provide for this class name breaking the string so lines are < 80 
chars
3. Try to compile

What is the expected output? What do you see instead?
Expect to compile successfully

ERROR - method "goog.require" called with invalid argument
goog.require('long.class.path.' +

What version of the product are you using? On what operating system?
r20130823

Please provide any additional information below.

Note: we cannot accept patches without the contributor license agreement
being signed. See http://code.google.com/p/closure-
library/wiki/Contributors for more info.

Original issue reported on code.google.com by lloydtho...@google.com on 12 Sep 2013 at 5:30

GoogleCodeExporter commented 8 years ago
This is a compiler issue. This bug database is for the library.

See https://code.google.com/p/closure-compiler/issues/

Original comment by nn...@google.com on 12 Sep 2013 at 5:37