blob: 804b2ed14286840f58fa3f683c8c2875ac03c7f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// We are missing a require of goog.sample.UsedType
goog.provide('goog.something.Else'); // +1: MISSING_GOOG_REQUIRE
goog.scope(function() {
var unused = goog.events.unused; // UNUSED_LOCAL_VARIABLE
var used = goog.events.used; // ALIAS_STMT_NEEDS_GOOG_REQUIRE
var UsedType = goog.sample.UsedType;
var other = goog.sample.other;
/** @type {used.UsedAlias|other.UsedAlias} */
goog.something.Else = UsedType.create();
}); // goog.scope
|