compile-time error
常见例句
- You will have a compile-time error something like: "The nested type Person cannot hide an enclosing type".
否則將會導致一個編譯時間錯誤,如 “該嵌套類型 Person 無法隱藏封閉類型”。 - Listing 2 shows a piece of code that results in a compile-time error because the copy constructor is private.
清單 2 顯示了産生編譯時錯誤的代碼部分,因爲該拷貝搆造函數是私有的。 - So if you misspelled "secret" in the above example, or tried to call a method on it that did not exist, you would get a compile-time error.
因此如果在上例中拼錯了 “secret”,或嘗試調用根本不存在的方法,那麽將出現編譯時錯誤。 返回 compile-time error